Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

CMultiLock::CMultiLock 

Constructs a CMultiLock object.


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.

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.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.