Метод | Описание | |
---|---|---|
LimitedConcurrencyLevelTaskScheduler ( int maxDegreeOfParallelism, int hardLimit ) : System |
Метод | Описание | |
---|---|---|
GetScheduledTasks ( ) : IEnumerable |
||
QueueTask ( Task task ) : void | ||
TryDequeue ( Task task ) : bool | ||
TryExecuteTaskInline ( Task task, bool taskWasPreviouslyQueued ) : bool |
Метод | Описание | |
---|---|---|
NotifyThreadPoolOfPendingWork ( ) : void |
protected final GetScheduledTasks ( ) : IEnumerable |
||
Результат | IEnumerable |
public LimitedConcurrencyLevelTaskScheduler ( int maxDegreeOfParallelism, int hardLimit ) : System | ||
maxDegreeOfParallelism | int | |
hardLimit | int | |
Результат | System |
protected final QueueTask ( Task task ) : void | ||
task | Task | |
Результат | void |
protected final TryDequeue ( Task task ) : bool | ||
task | Task | |
Результат | bool |
protected final TryExecuteTaskInline ( Task task, bool taskWasPreviouslyQueued ) : bool | ||
task | Task | |
taskWasPreviouslyQueued | bool | |
Результат | bool |