RTWaitHandleWaitAny Method (RTSafeWaitHandle())

Waits for any of the elements in the specified array to receive a signal.

Namespace:  IntervalZero.RTX64.RTAPI.Threading
Assembly:  IntervalZero.RTX64 (in IntervalZero.RTX64.dll) Version: 3.3.0.0 (File version: 3.5.0)

Syntax
public static int WaitAny(
	RTSafeWaitHandle[] waitHandles
)

Parameters

waitHandles
Type: IntervalZero.RTX64.RTAPI.Threading.WaitHandlesRTSafeWaitHandle
A WaitHandle array containing the objects for which the current instance will wait.

Return Value

Type: Int32
The array index of the object that satisfied the wait, or WaitTimeout if no object satisfied the wait and a time interval equivalent to timeout has passed.
See Also