10 writes to SafeWaitHandle
System.Private.CoreLib (10)
src\libraries\System.Private.CoreLib\src\System\Threading\EventWaitHandle.Windows.cs (3)
22SafeWaitHandle = handle; 40SafeWaitHandle = handle; 118SafeWaitHandle = handle;
src\libraries\System.Private.CoreLib\src\System\Threading\Mutex.cs (1)
95SafeWaitHandle = handle;
src\libraries\System.Private.CoreLib\src\System\Threading\Semaphore.Windows.cs (3)
22SafeWaitHandle = handle; 44SafeWaitHandle = handle; 130this.SafeWaitHandle = myHandle;
src\libraries\System.Private.CoreLib\src\System\Threading\WaitHandleExtensions.cs (1)
31waitHandle.SafeWaitHandle = value;
src\System\Threading\Mutex.CoreCLR.Unix.cs (2)
33SafeWaitHandle = handle; 64SafeWaitHandle = mutexHandle;
17 references to SafeWaitHandle
PresentationCore (3)
MS\Internal\IO\Packaging\NetStream.cs (1)
587_readEventHandles[(int)ReadEvent.ByteRangeReadEvent].SafeWaitHandle,
System\Windows\InterOp\D3DImage.cs (1)
693_canWriteEvent.SafeWaitHandle,
System\Windows\Media\Imaging\WriteableBitmap.cs (1)
1295_copyCompletedEvent.SafeWaitHandle,
System.Private.CoreLib (12)
src\libraries\System.Private.CoreLib\src\System\Threading\EventWaitHandle.Windows.cs (2)
182bool res = Interop.Kernel32.ResetEvent(SafeWaitHandle); 190bool res = Interop.Kernel32.SetEvent(SafeWaitHandle);
src\libraries\System.Private.CoreLib\src\System\Threading\Lock.cs (1)
664return _waitEvent.SafeWaitHandle.DangerousGetHandle();
src\libraries\System.Private.CoreLib\src\System\Threading\PortableThreadPool.WaitThread.cs (1)
182_waitHandles[0] = _changeHandlesEvent.SafeWaitHandle;
src\libraries\System.Private.CoreLib\src\System\Threading\RegisteredWaitHandle.Portable.cs (2)
67_waitHandle = waitHandle.SafeWaitHandle; 110UserUnregisterWaitHandle = waitObject?.SafeWaitHandle;
src\libraries\System.Private.CoreLib\src\System\Threading\Semaphore.Windows.cs (1)
196if (!Interop.Kernel32.ReleaseSemaphore(SafeWaitHandle!, releaseCount, out int previousCount))
src\libraries\System.Private.CoreLib\src\System\Threading\Timer.cs (1)
706EventWaitHandle.Set(wh.SafeWaitHandle);
src\libraries\System.Private.CoreLib\src\System\Threading\WaitHandle.cs (1)
233/// Obtains all of the corresponding safe wait handles and adds a ref to each. Since the <see cref="SafeWaitHandle"/>
src\libraries\System.Private.CoreLib\src\System\Threading\WaitHandleExtensions.cs (1)
19return waitHandle.SafeWaitHandle;
src\System\Threading\LowLevelLifoSemaphore.Unix.cs (1)
29int waitResult = WaitNative(_semaphore!.SafeWaitHandle, timeoutMs);
src\System\Threading\Mutex.CoreCLR.Unix.cs (1)
116if (!Interop.Kernel32.ReleaseMutex(SafeWaitHandle))
UIAutomationClient (1)
MS\Internal\Automation\QueueProcessor.cs (1)
114SafeWaitHandle handle = _ev.SafeWaitHandle;
UIAutomationClientSideProviders (1)
MS\Internal\AutomationProxies\QueueProcessor.cs (1)
94SafeWaitHandle handle = _ev.SafeWaitHandle;