9 instantiations of CountdownEvent
System.Core (7)
System\Linq\Parallel\Partitioning\OrderedHashRepartitionStream.cs (1)
31
CountdownEvent barrier = new
CountdownEvent
(inputStream.PartitionCount);
System\Linq\Parallel\Partitioning\UnorderedHashRepartitionStream.cs (1)
37
CountdownEvent barrier = new
CountdownEvent
(inputStream.PartitionCount);
System\Linq\Parallel\QueryOperators\Unary\DefaultIfEmptyQueryOperator.cs (1)
68
CountdownEvent sharedLatch = new
CountdownEvent
(partitionCount - 1);
System\Linq\Parallel\QueryOperators\Unary\FirstQueryOperator.cs (1)
82
CountdownEvent sharedBarrier = new
CountdownEvent
(partitionCount);
System\Linq\Parallel\QueryOperators\Unary\LastQueryOperator.cs (1)
82
CountdownEvent sharedBarrier = new
CountdownEvent
(partitionCount);
System\Linq\Parallel\QueryOperators\Unary\TakeOrSkipQueryOperator.cs (1)
113
CountdownEvent sharredBarrier = new
CountdownEvent
(partitionCount); // a barrier to synchronize before yielding
System\Linq\Parallel\QueryOperators\Unary\TakeOrSkipWhileQueryOperator.cs (1)
140
CountdownEvent sharedBarrier = new
CountdownEvent
(partitionCount);
System.Web (2)
Hosting\SuspendManager.cs (1)
55
CountdownEvent countdownEvent = new
CountdownEvent
(2);
httpserverutility.cs (1)
579
using (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)
38
private
CountdownEvent
m_barrier; // Used to signal and wait for repartitions to complete.
70
CountdownEvent
barrier, ListChunk<Pair<TInputOutput, THashKey>>[,] valueExchangeMatrix, CancellationToken cancellationToken)
System\Linq\Parallel\Partitioning\OrderedHashRepartitionEnumerator.cs (2)
39
private
CountdownEvent
m_barrier; // Used to signal and wait for repartitions to complete.
71
Func<TInputOutput, THashKey> keySelector, OrderedHashRepartitionStream<TInputOutput, THashKey, TOrderKey> repartitionStream,
CountdownEvent
barrier,
System\Linq\Parallel\Partitioning\OrderedHashRepartitionStream.cs (1)
31
CountdownEvent
barrier = new CountdownEvent(inputStream.PartitionCount);
System\Linq\Parallel\Partitioning\UnorderedHashRepartitionStream.cs (1)
37
CountdownEvent
barrier = new CountdownEvent(inputStream.PartitionCount);
System\Linq\Parallel\QueryOperators\Unary\DefaultIfEmptyQueryOperator.cs (3)
68
CountdownEvent
sharedLatch = new CountdownEvent(partitionCount - 1);
116
private
CountdownEvent
m_sharedLatch; // Shared latch, signaled when partitions process the 1st item.
125
Shared<int> sharedEmptyCount,
CountdownEvent
sharedLatch, CancellationToken cancelToken)
System\Linq\Parallel\QueryOperators\Unary\FirstQueryOperator.cs (3)
82
CountdownEvent
sharedBarrier = new CountdownEvent(partitionCount);
132
private
CountdownEvent
m_sharedBarrier; // Shared barrier, signaled when partitions find their 1st element.
142
FirstQueryOperatorState<TKey> operatorState,
CountdownEvent
sharedBarrier, CancellationToken cancellationToken,
System\Linq\Parallel\QueryOperators\Unary\LastQueryOperator.cs (3)
82
CountdownEvent
sharedBarrier = new CountdownEvent(partitionCount);
128
private
CountdownEvent
m_sharedBarrier; // Shared barrier, signaled when partitions find their 1st element.
138
LastQueryOperatorState<TKey> operatorState,
CountdownEvent
sharedBarrier, CancellationToken cancelToken,
System\Linq\Parallel\QueryOperators\Unary\TakeOrSkipQueryOperator.cs (3)
113
CountdownEvent
sharredBarrier = new CountdownEvent(partitionCount); // a barrier to synchronize before yielding
161
private readonly
CountdownEvent
m_sharedBarrier; // To separate the search/yield phases.
173
FixedMaxHeap<TKey> sharedIndices,
CountdownEvent
sharedBarrier, CancellationToken cancellationToken,
System\Linq\Parallel\QueryOperators\Unary\TakeOrSkipWhileQueryOperator.cs (3)
140
CountdownEvent
sharedBarrier = new CountdownEvent(partitionCount);
219
private readonly
CountdownEvent
m_sharedBarrier; // To separate the search/yield phases.
234
OperatorState<TKey> operatorState,
CountdownEvent
sharedBarrier, CancellationToken cancelToken, IComparer<TKey> keyComparer)
System.Web (2)
Hosting\SuspendManager.cs (1)
55
CountdownEvent
countdownEvent = new CountdownEvent(2);
httpserverutility.cs (1)
579
using (
CountdownEvent
countdownEvent = new CountdownEvent(1)) {