Mount Fuji Engine  0.8b
MF_API uint32 MFThread_WaitSemaphore ( MFSemaphore  semaphore)

Waits for a semaphore object to be signaled.

Parameters
semaphoreHandle of semaphore to wait on.
Returns
None.
Remarks
MFThread_WaitSemaphore will succeed when the semaphore count is greater than zero. When a wait successfully completes, the semaphore is decremented by 1.