|
|
Waits for a semaphore object to be signaled. - Parameters:
-
| semaphore | Handle 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.
|