System.MonitorExit
Delphi
procedure MonitorExit(const AObject: TObject);
C++
extern DELPHI_PACKAGE void __fastcall MonitorExit(TObject* const AObject);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | System.pas System.hpp |
System | System |
Description
Releases a lock of the calling thread on the specified object.
Use MonitorExit 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 MonitorExit is equal to the number of calls to MonitorEnter.