RtSemaphore Constructor (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.

Namespace:  IntervalZero.MaxRT.wRTOS.RtApi.Threading
Assembly:  IntervalZero.MaxRT.wRTOS (in IntervalZero.MaxRT.wRTOS.dll) Version: 1.0.0.0 (File version: 1.0.1)

Syntax

Copy
public RtSemaphore(
    int initialCount,
    int maximumCount,
    string name
)

Parameters

initialCount

Type: System.Int32
The initial number of requests for the semaphore that can be satisfied concurrently.

maximumCount

Type: System.Int32
The maximum number of requests for the semaphore that can be satisfied concurrently.

name

Type: System.String
The name of a system-wide named semaphore object.

See Also: