The RTSemaphore type exposes the following members.
Back to Top
Back to Top
Back to Top
Constructors
| Name | Description | |
|---|---|---|
| RTSemaphore(Int32, Int32) |
Initializes a new instance of the | |
| RTSemaphore(Int32, Int32, String) |
Initializes a new instance of the | |
| RTSemaphore(Int32, Int32, String, Boolean ) |
Initializes a new instance of the |
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 semaphore.
| |
| Release |
Exits the semaphore, returning the previous count.
| |
| Release(Int32) |
Exits the semaphore, returning the previous count.
| |
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