CMultiLock::CMultiLock

CMultiLock( CSyncObject* ppObjects[ ], DWORD dwCount, BOOL bInitialLock = FALSE );

Parameters

ppObjects

Array of pointers to the synchronization objects to be waited on. Cannot be NULL.

dwCount

Number of objects in ppObjects. Must be greater than 0.

bInitialLock

Specifies whether to initially attempt to access any of the supplied objects.

Remarks

Constructs a CMultiLock object. This function is called after creating the array of synchronization objects to be waited on. It is usually called from within the thread that must wait for one of the synchronization objects to become available.

CMultiLock OverviewClass MembersHierarchy Chart