ufoMPFork

    void ufoMPFork(
       ufoMPForkFunc func,
       int force_exactly_n,
       ...);

ufoMPFork creates threads that execute the supplied function func in parallel with the calling thread, here thread management is handled by the application multi-threader.

force_exactly_n should be set to 0: for standard behaviour of creating n-1 additional processes to the calling process where n is the application default number of threads used in multi-threading, and n (where n is greater than 0): to force creation of exactly n-1 additional processes.

num_args should be set to the number of arguments being passed to func in the following argument list. A maximum of 6 arguments can be passed.

ufoMPForkFunc typed for function to be called in parallel is supplied in ufoTypes.h.

ufoMPFork should not be called within a function which itself is being multi-threaded.

If ufoProcessSetMPSafe is set to false, then the application will not attempt to call any of the UFO functions in parallel and ufoMPFork.

May be called in any UFO user function. However, if ufoProcessSetMPSafe is set to true (the default behaviour), then ufoMPFork will have no effect in ufoProcessRenderLine or ufoProcessesPixel.

May be called within any UFO user function.

Autodesk Softimage v7.5