WaitForMultipleObjects
E724280
WaitForMultipleObjects is a Windows API function that allows a thread to wait for any one or all of multiple synchronization objects to become signaled.
Statements (48)
| Predicate | Object |
|---|---|
| instanceOf |
Windows API function
ⓘ
synchronization function ⓘ |
| belongsToLibrary | Kernel32.dll NERFINISHED ⓘ |
| blockingBehavior | blocks calling thread until condition met or timeout ⓘ |
| callingConvention | WINAPI ⓘ |
| canWaitFor |
all of multiple objects
ⓘ
any one of multiple objects ⓘ |
| canWaitOnObjectType |
console input handle
ⓘ
event object handle ⓘ mutex handle ⓘ process handle ⓘ semaphore handle ⓘ thread handle ⓘ waitable timer handle ⓘ |
| declaredInHeader | windows.h ⓘ |
| definedIn | Windows API NERFINISHED ⓘ |
| errorRetrieval | GetLastError ⓘ |
| introducedBy | Microsoft NERFINISHED ⓘ |
| maximumObjectCount | MAXIMUM_WAIT_OBJECTS ⓘ |
| parameter |
BOOL bWaitAll
ⓘ
DWORD dwMilliseconds ⓘ DWORD nCount ⓘ const HANDLE *lpHandles ⓘ |
| parameterType |
bWaitAll indicates wait for all or any
ⓘ
dwMilliseconds is timeout interval ⓘ lpHandles is pointer to array of object handles ⓘ nCount is number of object handles ⓘ |
| primaryPurpose | wait for multiple synchronization objects ⓘ |
| relatedFunction |
MsgWaitForMultipleObjects
NERFINISHED
ⓘ
SignalObjectAndWait NERFINISHED ⓘ WaitForMultipleObjectsEx NERFINISHED ⓘ WaitForSingleObject NERFINISHED ⓘ |
| releasesOnReturn | no automatic release of waited objects ⓘ |
| returnsOnFailure | WAIT_FAILED ⓘ |
| returnsOnSuccess | WAIT_OBJECT_0 plus index of signaled object ⓘ |
| returnsOnTimeout | WAIT_TIMEOUT ⓘ |
| returnType | DWORD ⓘ |
| supportedOn | Windows NERFINISHED ⓘ |
| supportsAlertableWait | no ⓘ |
| supportsPlatform |
Win32
NERFINISHED
ⓘ
Win64 NERFINISHED ⓘ |
| synchronizationModel | kernel-mode wait ⓘ |
| threadAffinity | wait is associated with calling thread ⓘ |
| timeoutBehavior | can wait indefinitely with INFINITE ⓘ |
| usedFor |
coordination of multiple events
ⓘ
thread synchronization ⓘ waiting for multiple handles in a single call ⓘ |
| waitTypeControlledBy | bWaitAll parameter ⓘ |
Referenced by (1)
Full triples — surface form annotated when it differs from this entity's canonical label.