CSingleLock::CSingleLock

CSingleLock( CSyncObject* pObject, BOOL bInitialLock = FALSE );

Parameters

pObject

Points to the synchronization object to be accessed. Cannot be NULL.

bInitialLock

Specifies whether to initially attempt to access the supplied object.

Remarks

Constructs a CSingleLock object. This function is generally called from within an access member function of the controlled resource.

CSingleLock OverviewClass MembersHierarchy Chart