31 references to AutoResetEvent
Microsoft.AspNetCore.Components.Tests (1)
RendererTest.cs (1)
4895var autoResetEvent = new AutoResetEvent(false);
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.Test (1)
RuntimeViewCompilerTest.cs (1)
579var resetEvent1 = new AutoResetEvent(initialState: false);
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests (3)
ResourceMonitoringServiceTests.cs (3)
307using var autoResetEvent = new AutoResetEvent(false); 428using var autoResetEvent = new AutoResetEvent(false); 537using var autoResetEvent = new AutoResetEvent(false);
Microsoft.Extensions.ML.Tests (3)
FileLoaderTests.cs (1)
69using AutoResetEvent changed = new AutoResetEvent(false);
UriLoaderTests.cs (2)
50using AutoResetEvent changed = new AutoResetEvent(false); 72using AutoResetEvent changed = new AutoResetEvent(false);
Microsoft.ML.FastTree (3)
GamModelParameters.cs (1)
924AutoResetEvent ev = new AutoResetEvent(false);
SumupPerformanceCommand.cs (2)
279AutoResetEvent[] events = Utils.BuildArray(_parallel, i => new AutoResetEvent(false)); 280AutoResetEvent[] mainEvents = Utils.BuildArray(_parallel, i => new AutoResetEvent(false));
Microsoft.ML.StandardTrainers (1)
Optimizer\DifferentiableFunction.cs (1)
73_threadFinished[i] = new AutoResetEvent(false);
Microsoft.VisualBasic.Forms (1)
Microsoft\VisualBasic\ApplicationServices\WindowsFormsApplicationBase.vb (1)
585_formLoadWaiter = New AutoResetEvent(False)
PresentationCore (6)
MS\Internal\IO\Packaging\NetStream.cs (2)
96_readEventHandles[(int)ReadEvent.ByteRangeReadEvent] = new AutoResetEvent(false); 101_readEventHandles[(int)ReadEvent.FullDownloadReadEvent] = new AutoResetEvent(false);
System\Windows\Input\Stylus\Common\DynamicRendererThreadManager.cs (1)
292_startupCompleted = new AutoResetEvent(false);
System\Windows\Input\Stylus\Wisp\PenThreadWorker.cs (1)
68_doneEvent = new AutoResetEvent(false);
System\Windows\Media\Imaging\BitmapDownload.cs (2)
49_waitEvent = new AutoResetEvent(false); 424internal static AutoResetEvent _waitEvent = new AutoResetEvent(false);
System.Private.CoreLib (7)
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\CounterGroup.cs (1)
165s_pollingThreadSleepEvent = new AutoResetEvent(false);
src\libraries\System.Private.CoreLib\src\System\Threading\Lock.cs (1)
613var newWaitEvent = new AutoResetEvent(false);
src\libraries\System.Private.CoreLib\src\System\Threading\PortableThreadPool.GateThread.cs (2)
20private static readonly AutoResetEvent RunGateThreadEvent = new AutoResetEvent(initialState: true); 21private static readonly AutoResetEvent DelayEvent = new AutoResetEvent(initialState: false);
src\libraries\System.Private.CoreLib\src\System\Threading\PortableThreadPool.WaitThread.cs (1)
176private readonly AutoResetEvent _changeHandlesEvent = new AutoResetEvent(false);
src\libraries\System.Private.CoreLib\src\System\Threading\RegisteredWaitHandle.Portable.cs (1)
79new AutoResetEvent(false);
src\libraries\System.Private.CoreLib\src\System\Threading\TimerQueue.Portable.cs (1)
21private static readonly AutoResetEvent s_timerEvent = new AutoResetEvent(false);
System.Threading (1)
System\Threading\ReaderWriterLock.cs (1)
1046currentEvent = new AutoResetEvent(false);
UIAutomationClient (2)
MS\Internal\Automation\QueueProcessor.cs (2)
39_ev = new AutoResetEvent(false); 209_ev = new AutoResetEvent(false);
UIAutomationClientSideProviders (2)
MS\Internal\AutomationProxies\QueueProcessor.cs (2)
32_ev = new AutoResetEvent(false); 208_ev = new AutoResetEvent (false);