RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCanvas.Unlock Method

Decreases the LockCount property, allowing other threads to execute when LockCount reaches 0.

Pascal
procedure Unlock;
C++
__fastcall Unlock();

Call Unlock at the end of a critical section begun with a call to the Lock method. Every call to Lock must be matched by a call to Unlock. 

 

Lock 

LockCount 

TryLock 

TThread 

Locking Objects

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!