RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TMonitor.PulseAll Method

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.

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

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 will lock AObject

 

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