System.TMonitor.PulseAll
Delphi
class procedure PulseAll(const AObject: TObject); overload; static;
C++
static void __fastcall PulseAll(TObject* const AObject)/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | System.pas System.hpp |
System | TMonitor |
Description
Signals all threads in the waiting queue that one of them will be able to lock the specified object as soon as the calling thread releases the object.
The PulseAll method notifies all threads in the waiting queue that one of them can move to the ready queue. As soon as the calling thread releases the lock on AObject, the first thread in the ready queue locks AObject.