RTSemaphore Constructor (Int32, Int32, String) IntervalZero RTX Managed Code
Initializes a new instance of the OnlineSemaphore 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.

Namespace:  RTX.Threading
Assembly:  IntervalZero.RTX (in IntervalZero.RTX.dll) Version: 12.0.0.0 (12.0.0.0)

Syntax

public RTSemaphore(
	int initialCount,
	int maximumCount,
	string name
)

Parameters

initialCount
Type: OnlineSystem Int32
The initial number of requests for the semaphore that can be satisfied concurrently.
maximumCount
Type: OnlineSystem Int32
The maximum number of requests for the semaphore that can be satisfied concurrently.
name
Type: OnlineSystem String
The name of a system-wide named semaphore object.
See Also