2 writes to _remainingConcurrency
System.Threading.Tasks.Parallel (2)
System\Threading\Tasks\TaskReplicator.cs (2)
36
_remainingConcurrency
= maxConcurrency - 1;
70
_remainingConcurrency
= 0; // new replica is responsible for adding concurrency from now on.
2 references to _remainingConcurrency
System.Threading.Tasks.Parallel (2)
System\Threading\Tasks\TaskReplicator.cs (2)
67
if (!_replicator._stopReplicating &&
_remainingConcurrency
> 0)
114
Replica<TState> newReplica = new Replica<TState>(_replicator,
_remainingConcurrency
, GenerateCooperativeMultitaskingTaskTimeout(), _action);