JCL Help:TJclThreadPersistent.LockCount

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Threading lock count.


Pascal

 protected property LockCount: Integer;


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

TJclThreadPersistent.Lock TJclThreadPersistent.Unlock


About

Donator

Alex Denissov


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page