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.

All labels observed (3)

How this entity was disambiguated

Statements (48)

Predicate Object
instanceOf Windows API function
synchronization function
belongsToLibrary Kernel32.dll
linked to: Kernel32
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
linked to: Win32 API
errorRetrieval GetLastError
introducedBy Microsoft
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
SignalObjectAndWait
WaitForMultipleObjectsEx
WaitForSingleObject
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
supportsAlertableWait no
supportsPlatform Win32
linked to: Win32 API

Win64
linked to: 64-bit Windows
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

How these facts were elicited

Referenced by (4)

Full triples — surface form annotated when it differs from this entity's canonical label.

Kernel32 exportsFunction WaitForMultipleObjects
AbandonedMutexException usedWith WaitHandle.WaitAny
linked to: WaitForMultipleObjects
WaitForSingleObject multiObjectAlternative WaitForMultipleObjects
WaitForMultipleObjects relatedFunction WaitForMultipleObjectsEx
linked to: WaitForMultipleObjects