RtWaitHandle.WaitOne Method (TimeSpan)

Blocks the current thread until the current System.Threading.WaitHandle receives a signal.

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

Syntax

Copy
public bool WaitOne(
    TimeSpan timeout
)

Parameters

timeout

Type: System.TimeSpan
The time to wait.

Return Value

Type: Boolean
true if the current instance receives a signal; otherwise, false.

See Also: