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