RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TMonitor Methods

The methods of the TMonitor class are listed here.

 
Name 
Description 
 
This is the overview for the Enter method overload. 
 
Exit 
Releases a lock of the calling thread on the specified object. 
 
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. 
 
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. 
 
SetSpinCount sets the number of times that Enter attempts to lock the specified object. 
 
Attempts to lock the specified object, so that only the calling thread is able to access the object. 
 
Wait 
Drops the lock on the specified object and puts the calling thread in the waiting queue for a specified amount of time. 
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!