RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TMonitor.Pulse Method

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.

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

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

 

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