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