10 references to CountdownEvent
Aspire.Hosting.Tests (1)
Eventing\DistributedApplicationBuilderEventingTests.cs (1)
202
var countdownEvent = new
CountdownEvent
(2);
Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests (2)
PersistentStorage\AbstractPersistentStorageTests.cs (2)
912
var countdown = new
CountdownEvent
(NumThreads);
944
var countdown = new
CountdownEvent
(NumThreads);
System.Linq.Parallel (7)
System\Linq\Parallel\Partitioning\OrderedHashRepartitionStream.cs (1)
27
CountdownEvent barrier = new
CountdownEvent
(inputStream.PartitionCount);
System\Linq\Parallel\Partitioning\UnorderedHashRepartitionStream.cs (1)
32
CountdownEvent barrier = new
CountdownEvent
(inputStream.PartitionCount);
System\Linq\Parallel\QueryOperators\Unary\DefaultIfEmptyQueryOperator.cs (1)
66
CountdownEvent sharedLatch = new
CountdownEvent
(partitionCount - 1);
System\Linq\Parallel\QueryOperators\Unary\FirstQueryOperator.cs (1)
80
CountdownEvent sharedBarrier = new
CountdownEvent
(partitionCount);
System\Linq\Parallel\QueryOperators\Unary\LastQueryOperator.cs (1)
80
CountdownEvent sharedBarrier = new
CountdownEvent
(partitionCount);
System\Linq\Parallel\QueryOperators\Unary\TakeOrSkipQueryOperator.cs (1)
109
CountdownEvent sharedBarrier = new
CountdownEvent
(partitionCount); // a barrier to synchronize before yielding
System\Linq\Parallel\QueryOperators\Unary\TakeOrSkipWhileQueryOperator.cs (1)
135
CountdownEvent sharedBarrier = new
CountdownEvent
(partitionCount);