12 writes to SafeWaitHandle
System.Diagnostics.Process (1)
System\Diagnostics\ProcessWaitHandle.Unix.cs (1)
23this.SafeWaitHandle = null;
System.DirectoryServices.Protocols (2)
System\DirectoryServices\Protocols\ldap\LdapAsyncResult.cs (2)
50SafeWaitHandle = handle; 53~LdapAsyncWaitHandle() => SafeWaitHandle = null;
System.Private.CoreLib (9)
src\libraries\System.Private.CoreLib\src\System\Threading\EventWaitHandle.Unix.cs (2)
16SafeWaitHandle = WaitSubsystem.NewEvent(initialState, mode); 34SafeWaitHandle = WaitSubsystem.NewEvent(initialState, mode);
src\libraries\System.Private.CoreLib\src\System\Threading\Mutex.cs (1)
95SafeWaitHandle = handle;
src\libraries\System.Private.CoreLib\src\System\Threading\Mutex.Unix.cs (3)
13private void CreateMutexCore(bool initiallyOwned) => SafeWaitHandle = WaitSubsystem.NewMutex(initiallyOwned); 30SafeWaitHandle = safeWaitHandle; 34SafeWaitHandle = WaitSubsystem.NewMutex(initiallyOwned);
src\libraries\System.Private.CoreLib\src\System\Threading\Semaphore.Unix.cs (2)
16SafeWaitHandle = WaitSubsystem.NewSemaphore(initialCount, maximumCount); 34SafeWaitHandle = WaitSubsystem.NewSemaphore(initialCount, maximumCount);
src\libraries\System.Private.CoreLib\src\System\Threading\WaitHandleExtensions.cs (1)
31waitHandle.SafeWaitHandle = value;
17 references to SafeWaitHandle
PresentationCore (3)
MS\Internal\IO\Packaging\NetStream.cs (1)
581_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.DirectoryServices.Protocols (1)
System\DirectoryServices\Protocols\ldap\LdapAsyncResult.cs (1)
28WaitHandle IAsyncResult.AsyncWaitHandle => field ??= new LdapAsyncWaitHandle(_manualResetEvent.SafeWaitHandle);
System.Private.CoreLib (11)
src\libraries\System.Private.CoreLib\src\System\Threading\EventWaitHandle.Unix.cs (1)
93SafeWaitHandle waitHandle = SafeWaitHandle;
src\libraries\System.Private.CoreLib\src\System\Threading\Lock.cs (1)
704return _waitEvent.SafeWaitHandle.DangerousGetHandle();
src\libraries\System.Private.CoreLib\src\System\Threading\Mutex.Unix.cs (1)
72SafeWaitHandle waitHandle = SafeWaitHandle;
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)
65_waitHandle = waitHandle.SafeWaitHandle; 108UserUnregisterWaitHandle = waitObject?.SafeWaitHandle;
src\libraries\System.Private.CoreLib\src\System\Threading\Semaphore.Unix.cs (1)
51SafeWaitHandle waitHandle = SafeWaitHandle;
src\libraries\System.Private.CoreLib\src\System\Threading\Timer.cs (1)
697EventWaitHandle.Set(wh.SafeWaitHandle);
src\libraries\System.Private.CoreLib\src\System\Threading\WaitHandle.cs (1)
232/// 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\Thread.CoreCLR.cs (1)
464return joinEvent.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;