System.TMonitor Methods
InheritedProtected
| Enter | public | Prohibits the access of all other threads but the calling one to the specified object. |
| Exit | public | Releases a lock of the calling thread on the specified object. |
| Pulse | public | 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. |
| PulseAll | public | 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 | public | SetSpinCount sets the number of times that Enter attempts to lock the specified object. |
| TryEnter | public | Attempts to lock the specified object, so that only the calling thread is able to access the object. |
| Wait | public | Drops the lock on the specified object and puts the calling thread in the waiting queue for a specified amount of time. |