9 instantiations of CountdownEvent
System.Core (7)
System\Linq\Parallel\Partitioning\OrderedHashRepartitionStream.cs (1)
31CountdownEvent barrier = new CountdownEvent(inputStream.PartitionCount);
System\Linq\Parallel\Partitioning\UnorderedHashRepartitionStream.cs (1)
37CountdownEvent barrier = new CountdownEvent(inputStream.PartitionCount);
System\Linq\Parallel\QueryOperators\Unary\DefaultIfEmptyQueryOperator.cs (1)
68CountdownEvent sharedLatch = new CountdownEvent(partitionCount - 1);
System\Linq\Parallel\QueryOperators\Unary\FirstQueryOperator.cs (1)
82CountdownEvent sharedBarrier = new CountdownEvent(partitionCount);
System\Linq\Parallel\QueryOperators\Unary\LastQueryOperator.cs (1)
82CountdownEvent sharedBarrier = new CountdownEvent(partitionCount);
System\Linq\Parallel\QueryOperators\Unary\TakeOrSkipQueryOperator.cs (1)
113CountdownEvent sharredBarrier = new CountdownEvent(partitionCount); // a barrier to synchronize before yielding
System\Linq\Parallel\QueryOperators\Unary\TakeOrSkipWhileQueryOperator.cs (1)
140CountdownEvent sharedBarrier = new CountdownEvent(partitionCount);
System.Web (2)
Hosting\SuspendManager.cs (1)
55CountdownEvent countdownEvent = new CountdownEvent(2);
httpserverutility.cs (1)
579using (CountdownEvent countdownEvent = new CountdownEvent(1)) {
34 references to CountdownEvent
mscorlib (11)
system\threading\CountdownEvent.cs (11)
30/// All public and protected members of <see cref="CountdownEvent"/> are thread-safe and may be used 32/// must only be used when all other operations on the <see cref="CountdownEvent"/> have 130/// that rely on having a WaitHandle. If all that's needed is to wait for the <see cref="CountdownEvent"/> 146/// Unlike most of the members of <see cref="CountdownEvent"/>, <see cref="Dispose()"/> is not 167/// Unlike most of the members of <see cref="CountdownEvent"/>, <see cref="Dispose()"/> is not 387/// Unlike most of the members of <see cref="CountdownEvent"/>, Reset is not 403/// Unlike most of the members of <see cref="CountdownEvent"/>, Reset is not 475/// <returns>true if the <see cref="System.Threading.CountdownEvent"/> was set; otherwise, 503/// <returns>true if the <see cref="System.Threading.CountdownEvent"/> was set; otherwise, 529/// <returns>true if the <see cref="System.Threading.CountdownEvent"/> was set; otherwise, 549/// <returns>true if the <see cref="System.Threading.CountdownEvent"/> was set; otherwise,
System.Core (21)
System\Linq\Parallel\Partitioning\HashRepartitionEnumerator.cs (2)
38private CountdownEvent m_barrier; // Used to signal and wait for repartitions to complete. 70CountdownEvent barrier, ListChunk<Pair<TInputOutput, THashKey>>[,] valueExchangeMatrix, CancellationToken cancellationToken)
System\Linq\Parallel\Partitioning\OrderedHashRepartitionEnumerator.cs (2)
39private CountdownEvent m_barrier; // Used to signal and wait for repartitions to complete. 71Func<TInputOutput, THashKey> keySelector, OrderedHashRepartitionStream<TInputOutput, THashKey, TOrderKey> repartitionStream, CountdownEvent barrier,
System\Linq\Parallel\Partitioning\OrderedHashRepartitionStream.cs (1)
31CountdownEvent barrier = new CountdownEvent(inputStream.PartitionCount);
System\Linq\Parallel\Partitioning\UnorderedHashRepartitionStream.cs (1)
37CountdownEvent barrier = new CountdownEvent(inputStream.PartitionCount);
System\Linq\Parallel\QueryOperators\Unary\DefaultIfEmptyQueryOperator.cs (3)
68CountdownEvent sharedLatch = new CountdownEvent(partitionCount - 1); 116private CountdownEvent m_sharedLatch; // Shared latch, signaled when partitions process the 1st item. 125Shared<int> sharedEmptyCount, CountdownEvent sharedLatch, CancellationToken cancelToken)
System\Linq\Parallel\QueryOperators\Unary\FirstQueryOperator.cs (3)
82CountdownEvent sharedBarrier = new CountdownEvent(partitionCount); 132private CountdownEvent m_sharedBarrier; // Shared barrier, signaled when partitions find their 1st element. 142FirstQueryOperatorState<TKey> operatorState, CountdownEvent sharedBarrier, CancellationToken cancellationToken,
System\Linq\Parallel\QueryOperators\Unary\LastQueryOperator.cs (3)
82CountdownEvent sharedBarrier = new CountdownEvent(partitionCount); 128private CountdownEvent m_sharedBarrier; // Shared barrier, signaled when partitions find their 1st element. 138LastQueryOperatorState<TKey> operatorState, CountdownEvent sharedBarrier, CancellationToken cancelToken,
System\Linq\Parallel\QueryOperators\Unary\TakeOrSkipQueryOperator.cs (3)
113CountdownEvent sharredBarrier = new CountdownEvent(partitionCount); // a barrier to synchronize before yielding 161private readonly CountdownEvent m_sharedBarrier; // To separate the search/yield phases. 173FixedMaxHeap<TKey> sharedIndices, CountdownEvent sharedBarrier, CancellationToken cancellationToken,
System\Linq\Parallel\QueryOperators\Unary\TakeOrSkipWhileQueryOperator.cs (3)
140CountdownEvent sharedBarrier = new CountdownEvent(partitionCount); 219private readonly CountdownEvent m_sharedBarrier; // To separate the search/yield phases. 234OperatorState<TKey> operatorState, CountdownEvent sharedBarrier, CancellationToken cancelToken, IComparer<TKey> keyComparer)
System.Web (2)
Hosting\SuspendManager.cs (1)
55CountdownEvent countdownEvent = new CountdownEvent(2);
httpserverutility.cs (1)
579using (CountdownEvent countdownEvent = new CountdownEvent(1)) {