Method | Description | |
---|---|---|
Dispose ( ) : void |
Disposes of resources used by the scheduler.
|
|
IOTaskScheduler ( ) : System |
Initializes a new instance of the IOTaskScheduler class.
|
Method | Description | |
---|---|---|
GetScheduledTasks ( ) : IEnumerable |
Gets an enumerable of tasks queued to the scheduler. This implementation will always return an empty enumerable. |
|
QueueTask ( Task task ) : void |
Queues a task to the scheduler for execution on the I/O ThreadPool.
|
|
TryExecuteTaskInline ( Task task, bool taskWasPreviouslyQueued ) : bool |
Executes a task on the current thread.
|
Method | Description | |
---|---|---|
GetOrCreateWorkItem ( ) : System.Threading.WorkItem |
Gets or create a work item.
|
protected GetScheduledTasks ( ) : IEnumerable |
||
return | IEnumerable |
protected QueueTask ( Task task ) : void | ||
task | Task | The Task to queue. |
return | void |
protected TryExecuteTaskInline ( Task task, bool taskWasPreviouslyQueued ) : bool | ||
task | Task | The task to be executed. |
taskWasPreviouslyQueued | bool | Ignored. |
return | bool |