System.TMonitor Methods

From RAD Studio API Documentation
Jump to: navigation, search


InheritedProtected
EnterpublicProhibits the access of all other threads but the calling one to the specified object.
ExitpublicReleases a lock of the calling thread on the specified object.
PulsepublicNotifies 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.
PulseAllpublicSignals 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.
SetSpinCountpublicSetSpinCount sets the number of times that Enter attempts to lock the specified object.
TryEnterpublicAttempts to lock the specified object, so that only the calling thread is able to access the object.
WaitpublicDrops the lock on the specified object and puts the calling thread in the waiting queue for a specified amount of time.