C# Class System.Threading.Tasks.TpScheduler

Inheritance: TaskScheduler
Mostra file Open project: spicypixel/concurrency-kit-cs

Protected Methods

Method Description
GetScheduledTasks ( ) : IEnumerable
QueueTask ( System.Threading.Tasks.Task task ) : void
TryExecuteTaskInline ( System.Threading.Tasks.Task task, bool taskWasPreviouslyQueued ) : bool

Private Methods

Method Description
TaskExecuterCallback ( object obj ) : void
TryDequeue ( System.Threading.Tasks.Task task ) : bool

Method Details

GetScheduledTasks() protected method

protected GetScheduledTasks ( ) : IEnumerable
return IEnumerable

QueueTask() protected method

protected QueueTask ( System.Threading.Tasks.Task task ) : void
task System.Threading.Tasks.Task
return void

TryExecuteTaskInline() protected method

protected TryExecuteTaskInline ( System.Threading.Tasks.Task task, bool taskWasPreviouslyQueued ) : bool
task System.Threading.Tasks.Task
taskWasPreviouslyQueued bool
return bool