Function CSPThreadLock::GetLockCount()
Description:
Retrieves the thread lock count. If the CSPThreadLock object is locked by another thread, GetLockCount will block until the other thread completely unlocks the object.
 |
Prototype:
unsigned long GetLockCount() const;
Arguments:
No arguments (void).
Return value:
It returns the thread lock count. If there there is no thread lock, it returns zero.
See also:
member functions Lock(), Unlock()
|
|