Show: Delphi
C++
Display Preferences
System.TMonitor.Pulse
From XE2 API Documentation
Delphi
class procedure Pulse(AObject: TObject); overload; static;
C++
static void __fastcall Pulse(TObject* AObject)/* overload */;
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
procedure function |
public | System.pas System.hpp |
System | TMonitor |
Description
Notifies the next thread in the waiting queue that it will be able to lock the specified object as soon as the calling thread releases the object.
The Pulse method notifies the next thread in the waiting queue that it can move to the ready queue. Thus, as soon as the calling thread releases the lock on AObject, the next thread in the ready queue locks AObject.