18 references to WaitHandle
Microsoft.Build (2)
BackEnd\BuildManager\BuildSubmission.cs (2)
190RequestBuilder.WaitWithBuilderThreadStart([WaitHandle], false, legacyThreadingData, SubmissionId); 194WaitHandle.WaitOne();
Microsoft.Build.Engine.UnitTests (16)
BackEnd\BuildManager_Tests.cs (15)
1380submission1.WaitHandle.WaitOne(); 1415submission1.WaitHandle.WaitOne(); 1416submission2.WaitHandle.WaitOne(); 1466submission1.WaitHandle.WaitOne(); 1467submission2.WaitHandle.WaitOne(); 1558asyncResult.WaitHandle.WaitOne(TimeSpan.FromSeconds(10)).ShouldBeTrue(); 1595asyncResult.WaitHandle.WaitOne(); 1635asyncResult.WaitHandle.WaitOne(); 1673asyncResult.WaitHandle.WaitOne(); 1715asyncResult.WaitHandle.WaitOne(); 1748asyncResult.WaitHandle.WaitOne(); 1814submission.WaitHandle.WaitOne(); 1848submission.WaitHandle.WaitOne(); 4122submission1.WaitHandle.WaitOne(TimeSpan.FromSeconds(20)); 4123submission2.WaitHandle.WaitOne(TimeSpan.FromSeconds(20));
BackEnd\TaskBuilder_Tests.cs (1)
186bool isSubmissionComplated = asyncResult.WaitHandle.WaitOne(timeoutMilliseconds);