7 writes to safeWaitHandle
mscorlib (7)
system\threading\waithandle.cs (7)
79safeWaitHandle = null; 113safeWaitHandle = null; 118safeWaitHandle = new SafeWaitHandle(value, true); 138safeWaitHandle = new SafeWaitHandle(InvalidHandle, false); 162safeWaitHandle = null; 167safeWaitHandle = value; 188safeWaitHandle = handle;
21 references to safeWaitHandle
mscorlib (21)
system\threading\eventwaithandle.cs (4)
267bool res = Win32Native.ResetEvent(safeWaitHandle); 275bool res = Win32Native.SetEvent(safeWaitHandle); 287return new EventWaitHandleSecurity(safeWaitHandle, AccessControlSections.Access | AccessControlSections.Owner | AccessControlSections.Group); 297eventSecurity.Persist(safeWaitHandle);
system\threading\mutex.cs (3)
413if (Win32Native.ReleaseMutex(safeWaitHandle)) 502return new MutexSecurity(safeWaitHandle, AccessControlSections.Access | AccessControlSections.Owner | AccessControlSections.Group); 512mutexSecurity.Persist(safeWaitHandle);
system\threading\waithandle.cs (14)
91get { return safeWaitHandle == null ? InvalidHandle : safeWaitHandle.DangerousGetHandle();} 110if (safeWaitHandle != null) 112safeWaitHandle.SetHandleAsInvalid(); 136if (safeWaitHandle == null) 140return safeWaitHandle; 168waitHandle = safeWaitHandle.DangerousGetHandle(); 232return InternalWaitOne(safeWaitHandle, timeout, hasThreadAffinity, exitContext); 260if (safeWaitHandle == null) 267int ret = WaitOneNative(safeWaitHandle, (uint)timeout, hasThreadAffinity, false); 567int ret = SignalAndWaitOne(toSignal.safeWaitHandle,toWaitOn.safeWaitHandle,millisecondsTimeout, 616if (safeWaitHandle != null) 618safeWaitHandle.Close();