C# Класс System.Threading.Tasks.Schedulers.ConcurrentExclusiveInterleave.ConcurrentExclusiveTaskScheduler

A scheduler shim used to queue tasks to the interleave and execute those tasks on request of the interleave.
Наследование: TaskScheduler
Показать файл Открыть проект

Private Properties

Свойство Тип Описание
ConcurrentExclusiveTaskScheduler System.Collections.Generic
ExecuteTask void

Защищенные методы

Метод Описание
GetScheduledTasks ( ) : IEnumerable

Gets for debugging purposes the tasks scheduled to this scheduler.

QueueTask ( Task task ) : void

Queues a task to the scheduler.

TryExecuteTaskInline ( Task task, bool taskWasPreviouslyQueued ) : bool

Tries to execute the task synchronously on this scheduler.

Приватные методы

Метод Описание
ConcurrentExclusiveTaskScheduler ( ConcurrentExclusiveInterleave interleave, Queue tasks, int maximumConcurrencyLevel ) : System.Collections.Generic

Initializes the scheduler.

ExecuteTask ( Task task ) : void

Executes a task on this scheduler.

Описание методов

GetScheduledTasks() защищенный Метод

Gets for debugging purposes the tasks scheduled to this scheduler.
protected GetScheduledTasks ( ) : IEnumerable
Результат IEnumerable

QueueTask() защищенный Метод

Queues a task to the scheduler.
protected QueueTask ( Task task ) : void
task Task The task to be queued.
Результат void

TryExecuteTaskInline() защищенный Метод

Tries to execute the task synchronously on this scheduler.
protected TryExecuteTaskInline ( Task task, bool taskWasPreviouslyQueued ) : bool
task Task The task to execute.
taskWasPreviouslyQueued bool Whether the task was previously queued to the scheduler.
Результат bool