RTSemaphore Class | 
                        
            Limits the number of threads that can access a resource, or a particular type of resource, concurrently.
            
SystemObject
IntervalZero.RTX64.RTAPI.ThreadingRTWaitHandle
IntervalZero.RTX64.RTAPI.ThreadingRTSemaphore
Namespace:   
   IntervalZero.RTX64.RTAPI.ThreadingIntervalZero.RTX64.RTAPI.ThreadingRTWaitHandle
IntervalZero.RTX64.RTAPI.ThreadingRTSemaphore
Assembly: IntervalZero.RTX64 (in IntervalZero.RTX64.dll) Version: 3.3.0.0 (File version: 3.5.0)
The RTSemaphore type exposes the following members.
| Name | Description | |
|---|---|---|
| RTSemaphore(Int32, Int32) | 
            Initializes a new instance of the RTSemaphore class, specifying the maximum number of concurrent entries, and optionally reserving some entries for the calling thread.
              | |
| RTSemaphore(Int32, Int32, String) | 
            Initializes a new instance of the RTSemaphore class, specifying the maximum number of concurrent entries, optionally reserving some entries for the calling thread, and optionally specifying the name of a system semaphore object.
              | |
| RTSemaphore(Int32, Int32, String, Boolean) | 
            Initializes a new instance of the RTSemaphore class, specifying the maximum number of concurrent entries, optionally reserving some entries for the calling thread, optionally specifying the name of a system semaphore object, and specifying an out parameter that indicates whether a new system object was created.
              | 
| Name | Description | |
|---|---|---|
| SafeWaitHandle | 
            Gets or sets the native operating system handle.
              (Inherited from RTWaitHandle.) | 
| 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.) | |
| OpenExisting | 
            Opens an existing named semaphore.
              | |
| Release | 
            Exits the semaphore, returning the previous count.
              | |
| Release(Int32) | 
            Exits the semaphore, returning the previous count.
              | |
| WaitOne | 
            When overridden in a derived class, blocks the current thread until the current WaitHandle receives a signal.
              (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 WaitHandle receives a signal, using 32-bit signed integer to measure the time interval and specifying whether to exit the synchronization domain before the wait.
              (Inherited from RTWaitHandle.) | |
| WaitOne(TimeSpan, Boolean) | 
             Blocks the current thread until the current System.Threading.WaitHandle receives
 a signal.
              (Inherited from RTWaitHandle.) |