Mono Class Library: OverviewSystem.Threading.Monitor: Method Members |
The methods of System.Threading.Monitor are listed below. For a list of all members, see the Monitor Members list.
See Also: Inherited members from System.Object
staticEnter(object) Acquires an exclusive lock on the specified object. staticExit(object) Releases an exclusive lock on the specified object . staticPulse(object) Notifies the next waiting thread (if any) of a change in the specified locked object's state. staticPulseAll(object) Notifies all waiting threads (if any) of a change in the specified locked object's state. staticTryEnter(object) : bool Attempts to acquire an exclusive lock on the specified object. staticTryEnter(object, int) : bool Attempts, for the specified number of milliseconds, to acquire an exclusive lock on the specified object. staticTryEnter(object, TimeSpan) : bool Attempts, for the specified amount of time, to acquire an exclusive lock on the specified object. staticWait(object) : bool Releases the lock on an object and blocks the current thread until it reacquires the lock. staticWait(object, int) : bool Releases the lock on an object and blocks the current thread until it reacquires the lock or until a specified amount of time elapses. staticWait(object, TimeSpan) : bool Releases the lock on an object and blocks the current thread until it reacquires the lock or until a specified amount of time elapses. staticWait(object, int, bool) : bool Documentation for this section has not yet been entered. staticWait(object, TimeSpan, bool) : bool Documentation for this section has not yet been entered.