RtWaitHandle.WaitOne Method (TimeSpan, Boolean)
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
public bool WaitOne(
TimeSpan timeout,
bool exitContext
)
Parameters
timeout
Type: System.TimeSpan
The number of milliseconds to wait, or System.Threading.Timeout.Infinite
(-1) to wait indefinitely.
exitContext
Type: System.Boolean
Unused parameter.
Return Value
Type: Boolean
true if the current instance receives a signal; otherwise, false.
See Also: