The RTMutex type exposes the following members.
Back to Top
Back to Top
Back to Top
Constructors
| Name | Description | |
|---|---|---|
| RTMutex |
Initializes a new instance of the Mutex2 class with default properties.
| |
| RTMutex(Boolean) |
Initializes a new instance of the RTMutex class with a Boolean value indicating whether the calling thread should have initial ownership of the mutex.
| |
| RTMutex(Boolean, String) |
Initializes a new instance of the Mutex2 class with a Boolean value indicating whether the calling thread should have initial ownership of the mutex, and a string that is the name of the mutex.
| |
| RTMutex(Boolean, String, Boolean ) |
Initializes a new instance of the Mutex2 class with a Boolean value indicating whether the calling thread should have initial ownership of the mutex, a string that is the name of the mutex, and a Boolean value that, when the method returns, will indicate whether the calling thread was granted initial ownership of the mutex.
|
Methods
| Name | Description | |
|---|---|---|
| Close |
Releases all resources held by the current RTSafeWaitHandle.
(Inherited from RTWaitHandle.) | |
| Dispose |
Releases all of the resources used by the RTWaitHandle.
(Inherited from RTWaitHandle.) | |
| Dispose(Boolean) |
Releases the unmanaged resources used
by the RTWaitHandle, and optionally releases the managed resources.
(Inherited from RTWaitHandle.) | |
| (Inherited from | ||
| Finalize |
Finalizes the RTWaitHandle instance.
(Inherited from RTWaitHandle.) | |
Serves as a hash function for a particular type. (Inherited from | ||
Gets the (Inherited from | ||
Creates a shallow copy of the current (Inherited from | ||
| OpenExisting |
Opens an existing named mutex.
| |
| ReleaseMutex |
Releases the RTMutex once.
| |
Returns a string that represents the current object. (Inherited from | ||
| WaitOne |
When overridden in a derived class, blocks the current thread until the current (Inherited from RTWaitHandle.) | |
| WaitOne(Int32) |
Blocks the current thread until the current System.Threading.WaitHandle receives
a signal.
(Inherited from RTWaitHandle.) | |
| WaitOne(TimeSpan) |
Blocks the current thread until the current System.Threading.WaitHandle receives
a signal.
(Inherited from RTWaitHandle.) | |
| WaitOne(Int32, Boolean) |
When overridden in a derived class, blocks the current thread until the current (Inherited from RTWaitHandle.) | |
| WaitOne(TimeSpan, Boolean) |
Blocks the current thread until the current System.Threading.WaitHandle receives
a signal.
(Inherited from RTWaitHandle.) |
Properties
| Name | Description | |
|---|---|---|
| SafeWaitHandle |
Gets or sets the native operating system handle.
(Inherited from RTWaitHandle.) |
See Also