8 references to Scheduling
System.Core (8)
System\Linq\Parallel\Channels\AsynchronousChannel.cs (2)
110
this(index,
Scheduling
.DEFAULT_BOUNDED_BUFFER_CAPACITY, chunkSize, cancellationToken, consumerEvent)
116
if (chunkSize == 0) chunkSize =
Scheduling
.GetDefaultChunkSize<T>();
System\Linq\Parallel\Partitioning\PartitionedDataSource.cs (2)
104
maxChunkSize =
Scheduling
.GetDefaultChunkSize<T>();
594
m_chunkBuffer = new T[
Scheduling
.GetDefaultChunkSize<T>()]; // Pre-allocate the array at the maximum size.
System\Linq\Parallel\QueryOperators\QuerySettings.cs (2)
191
settings.DegreeOfParallelism =
Scheduling
.GetDefaultDegreeOfParallelism();
211
Contract.Assert(settings.DegreeOfParallelism.Value >= 1 && settings.DegreeOfParallelism <=
Scheduling
.MAX_SUPPORTED_DOP);
System\Linq\Parallel\QueryOperators\ScanQueryOperator.cs (1)
36
: base(
Scheduling
.DefaultPreserveOrder, QuerySettings.Empty)
System\Linq\ParallelEnumerable.cs (1)
335
if (degreeOfParallelism < 1 || degreeOfParallelism >
Scheduling
.MAX_SUPPORTED_DOP)