static private waitAllInner ( Array events, int millisecs ) : bool | ||
events | Array | |
millisecs | int | |
return | bool |
static bool waitAllInner(Event[] events, int millisecs)
{
if (events.Length == 1)
{
return events[0].Wait(millisecs);
}
return EventWaitHandle.WaitAll(toArray(events), millisecs, false);
}