Home | GR32 | TThreadPersistent |
TThreadPersistent.LockCount
property LockCount: Integer; // Read-only; protected;
Description
LockCount represents the current nesting level of the threading lock. This is a counter shared by all running threads in the curent process.
The object is unlocked only when LockCount is 0 and only one thread can lock the object at the time. Call Lock to increase LockCount value and Unlock to decrease it.
See Also
Copyright ©2000-2007 Alex Denisov and Contributors - Graphics32 v1.8.3 - Build on 4-March-2007