RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomWinSocket.Unlock Method

Reenables execution in other threads after a critical section begun by the Lock method.

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

Call Unlock at the end of a section of code that is not thread-safe. Every call to Unlock should match a call to the Lock method at the beginning of the critical section of code. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!