Function WaitForSingleObject
WaitForSingleObject accepts thread, event, mutex, semaphore, and timer handles. If a thread handle is passed, the wait operation will be performed on the event object created for the thread by CreateThread.
If the dwTimeout parameter is set to INFINITE, RTKWait is called for the respective object. If it is zero, RTKWaitCond is used. For all other values, the value is converted to timer ticks and RTKWaitTimed is called.
Function WaitForSingleObjectEx is implemented as WaitForSingleObject if parameter bAlertable is FALSE. Otherwise, WaitForMultipleObjectsEx is called.
Win32 Thread Compatible API
Function ReleaseSemaphore
Function WaitForMultipleObjects
|