C4 Engine
C4 Engine API Documentation

ThreadMgr::GetWorkerThreadCount

Defined in:  C4Threads.h
Returns the total number of worker threads.
Prototype

int32 GetWorkerThreadCount(voidconst;

Description
The GetWorkerThreadCount function returns the total number of worker threads in use by the Thread Manager. This number does not change while the engine is running.

The index of the thread on which a particular job is running can be determined by calling the Job::GetThreadIndex function.
See Also

Job::GetThreadIndex