RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TMonitor.Exit Method

Releases a lock of the calling thread on the specified object.

Pascal
class procedure Exit(AObject: TObject); overload; static;
C++
static __fastcall Exit(TObject * AObject);

Use the Exit method to release a lock of the calling thread on AObject, which is also owned by the thread. The object is released from all the locks of the calling thread as soon as the number of the thread's calls to Exit is equal to the number of calls to Enter

 

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