RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
System.MonitorPulseAll Function

Signals all threads in the waiting queue that either one of them will be able to lock the specified object as soon as the calling thread releases it.

Pascal
procedure MonitorPulseAll(AObject: TObject);
C++
MonitorPulseAll(TObject * AObject);

MonitorPulseAll notifies all threads in the waiting queue that they 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 it. 

 

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