Function CSPThreadLockBase::Lock()

Description:
It increments the thread lock count by one. If the object is locked by another thread, this member function waits until the object is unlocked.

Micronovae Prototype:
virtual unsigned long Lock() = 0;

Arguments:
No arguments (void).

Return value:
It returns the current thread lock count.

Remarks:
This member function must be overloaded.

See also:
member functions GetLockCount(), Unlock(), TryLock()
CSPThreadLockBase | Other support classes | Class Categories | Online help home | Back

Copyright © 2002 - 2006 Micronovae Ltd. - www.micronovae.com