Пример #1
0
 public static int WaitAny(IWaitableResult[] waitableResults, TimeSpan timeout, bool exitContext, WaitHandle cancelWaitHandle)
 {
     return(SmartThreadPool.WaitAny(waitableResults, (int)timeout.TotalMilliseconds, exitContext, cancelWaitHandle));
 }
Пример #2
0
 public static int WaitAny(IWaitableResult[] waitableResults)
 {
     return(SmartThreadPool.WaitAny(waitableResults, -1, true));
 }