7 types derived from WaitHandle
mscorlib (2)
System (3)
System.ServiceModel.Internals (1)
System.Web (1)
143 references to WaitHandle
mscorlib (64)
system\threading\threadpool.cs (15)
941private WaitHandle m_internalWaitObject;
967internal void SetWaitObject(WaitHandle waitObject)
989WaitHandle waitObject // object to be notified when all callbacks to delegates have completed
1127internal void SetWaitObject(WaitHandle waitObject)
1137WaitHandle waitObject // object to be notified when all callbacks to delegates have completed
1409WaitHandle waitObject,
1424WaitHandle waitObject,
1438WaitHandle waitObject,
1482WaitHandle waitObject,
1499WaitHandle waitObject,
1516WaitHandle waitObject,
1533WaitHandle waitObject,
1550WaitHandle waitObject,
1569WaitHandle waitObject,
1875WaitHandle waitHandle,
system\threading\waithandle.cs (24)
293private static extern int WaitMultiple(WaitHandle[] waitHandles, int millisecondsTimeout, bool exitContext, bool WaitAll);
296public static bool WaitAll(WaitHandle[] waitHandles, int millisecondsTimeout, bool exitContext)
328WaitHandle[] internalWaitHandles = new WaitHandle[waitHandles.Length];
331WaitHandle waitHandle = waitHandles[i];
373WaitHandle[] waitHandles,
389public static bool WaitAll(WaitHandle[] waitHandles)
394public static bool WaitAll(WaitHandle[] waitHandles, int millisecondsTimeout)
399public static bool WaitAll(WaitHandle[] waitHandles, TimeSpan timeout)
416public static int WaitAny(WaitHandle[] waitHandles, int millisecondsTimeout, bool exitContext)
435WaitHandle[] internalWaitHandles = new WaitHandle[waitHandles.Length];
438WaitHandle waitHandle = waitHandles[i];
478WaitHandle[] waitHandles,
490public static int WaitAny(WaitHandle[] waitHandles, TimeSpan timeout)
500public static int WaitAny(WaitHandle[] waitHandles)
506public static int WaitAny(WaitHandle[] waitHandles, int millisecondsTimeout)
524WaitHandle toSignal,
525WaitHandle toWaitOn)
531WaitHandle toSignal,
532WaitHandle toWaitOn,
547WaitHandle toSignal,
548WaitHandle toWaitOn,
602private static void ThrowAbandonedMutexException(int location, WaitHandle handle)
PresentationCore (1)
PresentationFramework (1)
System (37)
sys\system\collections\concurrent\BlockingCollection.cs (11)
1018List<WaitHandle> handles = GetHandles(collections, externalCancellationToken, true, out collatedCancellationTokens);
1034index = WaitHandle.WaitAny(handles.ToArray(), timeout, false);
1047Debug.Assert((index == WaitHandle.WaitTimeout) || (index >= 0 && index < handles.Count));
1049if (index == WaitHandle.WaitTimeout) //case#2
1097private static List<WaitHandle> GetHandles(BlockingCollection<T>[] collections, CancellationToken externalCancellationToken, bool isAddOperation, out CancellationToken[] cancellationTokens)
1101List<WaitHandle> handlesList = new List<WaitHandle>(collections.Length + 1); // + 1 for the external token handle to be added
1428List<WaitHandle> handles = GetHandles(collections, externalCancellationToken, false, out collatedCancellationTokens);
1441int index = WaitHandle.WaitAny(handles.ToArray(), timeout, false);
1449Debug.Assert((index == WaitHandle.WaitTimeout) || (index >= 0 && index < handles.Count));
1450if (index == WaitHandle.WaitTimeout) //case#2
System.Core (5)
System.Data.Services.Client (1)
System.IdentityModel (2)
System.IO.Log (2)
System.Messaging (1)
System.Runtime.Remoting (3)
System.ServiceModel (8)
System.ServiceModel.Internals (4)
System.Transactions (1)
System.Web (6)
System.Web.Services (3)
System.Windows.Forms (3)
System.Workflow.Runtime (1)