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.

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

www.micronovae.com

Copyright © 2002 - 2005 Micronovae Ltd