Related Functions: ufoMPSetIterateFunction, ufoMPIterateThreadFunc
Simple methods of user-defined MP processing with indices. Can be used without modification on single CPU machines. Do not use this in functions which are already called in worker threads, such as ufoProcessRenderLine. Returns false from ufoProcessSetMPSafe to ensure you do not get called from a worker thread. Call ufoMPSetIterateFunction to set the worker functions and then call ufoMPIterate to run and wait for the function to do the processing
Runs and wait for the completion of the functions set by the ufoMPSetIterateFunction.
The functions are called with the index they are given, between i_start_index and including i_end_index
Four processors over 32 iterations. There are 4 threads created. Each thread calls the interate function with 6 different indices
void ufoMPIterate( int i_start_index, int i_end_index, void *user_data, ufoMPScheduleType schedule_type);
Autodesk Softimage v7.5