RTWaitHandle WaitAny Method ( RTSafeWaitHandle ) IntervalZero RTX Managed Code
Waits for any of the elements in the specified array to receive a signal, using a 32-bit signed integer to measure the time interval.

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

Syntax

public static int WaitAny(
	RTSafeWaitHandle[] waitHandles
)

Parameters

waitHandles
Type: RTX.Threading.WaitHandles RTSafeWaitHandle
A WaitHandle array containing the objects for which the current instance will wait.

Return Value

Type: OnlineInt32
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