ufoMPForkMyId

    int ufoMPForkMyId(void);

When forked processes are created with ufoMPFork, each is given a unique thread ID, which can be obtained via ufoMPForkMyId. The return value will bean in the range 0..n-1, where n is the number of threads running in parallel.

Returns -1 if the current process thread is not handled by the application multi-threader.

May be called within the (ufoMPForkFunc)func supplied to ufoMPFork.

Autodesk Softimage v7.5