System.MonitorExit

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

procedure MonitorExit(const AObject: TObject);

C++

extern DELPHI_PACKAGE void __fastcall MonitorExit(TObject* const AObject);

Propriétés

Type Visibilité  Source Unité  Parent
procedure
function
public
System.pas
System.hpp
System System

Description

Libère un verrou du thread appelant sur l'objet spécifié.

Utilisez MonitorExit pour libérer un verrou du thread appelant sur AObject, qui est aussi possédé par le thread. L'objet est libéré de tous les verrous du thread appelant dès que le nombre d'appels du thread à la routine MonitorExit est égal au nombre d'appels à la routine MonitorEnter.

Voir aussi