23 references to WaitHandle
IIS.Tests (2)
ResponseAbortTests.cs (2)
156Assert.True(token.WaitHandle.WaitOne(10000)); 157Assert.True(ctx.RequestAborted.WaitHandle.WaitOne(10000));
InProcessWebSite (2)
Startup.cs (2)
155context.RequestAborted.WaitHandle.WaitOne(); 604lifetime.ApplicationStopping.WaitHandle.WaitOne();
Microsoft.AspNetCore.Hosting.Tests (5)
WebHostTests.cs (5)
176lifetime.ApplicationStarted.WaitHandle.WaitOne(); 185lifetime.ApplicationStopped.WaitHandle.WaitOne(); 211token.WaitHandle.WaitOne(); 250token.WaitHandle.WaitOne(); 286token.WaitHandle.WaitOne();
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (5)
Http1\Http1ConnectionTests.cs (5)
800Assert.True(originalToken.WaitHandle.WaitOne(TestConstants.DefaultTimeout)); 801Assert.True(_http1Connection.RequestAborted.WaitHandle.WaitOne(TestConstants.DefaultTimeout)); 817Assert.True(_http1Connection.RequestAborted.WaitHandle.WaitOne(TestConstants.DefaultTimeout)); 832Assert.True(originalToken.WaitHandle.WaitOne(TestConstants.DefaultTimeout)); 833Assert.True(_http1Connection.RequestAborted.WaitHandle.WaitOne(TestConstants.DefaultTimeout));
Microsoft.AspNetCore.Session.Tests (3)
SessionTests.cs (3)
1178token.WaitHandle.WaitOne(TimeSpan.FromSeconds(10)); 1194token.WaitHandle.WaitOne(TimeSpan.FromSeconds(10)); 1214token.WaitHandle.WaitOne(TimeSpan.FromSeconds(10));
Microsoft.AspNetCore.StaticFiles.FunctionalTests (1)
StaticFileMiddlewareTests.cs (1)
256Assert.True(context.RequestAborted.WaitHandle.WaitOne(interval), "not aborted");
Microsoft.AspNetCore.TestHost.Tests (1)
HttpContextBuilderTests.cs (1)
313Assert.True(c.RequestAborted.WaitHandle.WaitOne(TimeSpan.FromSeconds(10)));
Microsoft.ML.Maml (1)
MAML.cs (1)
217if (ct.WaitHandle.WaitOne(interval))
System.Collections.Concurrent (2)
System\Collections\Concurrent\BlockingCollection.cs (2)
984handles.Add(linkedTokenSource.Token.WaitHandle); // add the combined token to the handles list 1386handles.Add(linkedTokenSource.Token.WaitHandle); // add the combined token to the handles list
System.Diagnostics.DiagnosticSource (1)
System\Diagnostics\Metrics\AggregationManager.cs (1)
267if (cancelToken.WaitHandle.WaitOne(delayTime))