Mount Fuji Engine  0.8b
MF_API MFSemaphore MFThread_CreateSemaphore ( const char *  pName,
int  maxCount,
int  startCount 
)

Createa a semaphore object that can be used for thread syncronisation.

Parameters
pNameName to identify the semaphore.
maxCountMaximum count for the semaphore.
startCountStarting count for the semaphore.
Returns
A handle to the created semaphore.