March 2002
Intermediate to advanced
864 pages
31h 8m
English
Mutex
A Mutex is an implementation
of a WaitHandle.
ReleaseMutex()
releases a lock on a WaitHandle.
A thread that owns a Mutex
lock can call any of the Wait() methods
(defined in the parent class, WaitHandle)
without blocking, but must then release the Mutex
the same number of times as the Mutex was obtained.
public sealed class Mutex : WaitHandle { // Public Constructors public method Mutex(); public method Mutex(bool initiallyOwned); public method Mutex(bool initiallyOwned, string name); public method Mutex(bool initiallyOwned, string name, out bool createdNew); // Public Instance Methods public method void ReleaseMutex(); }
System.Object→System.MarshalByRefObject→WaitHandle(System.IDisposable)→Mutex