Method | Description | |
---|---|---|
LimitedConcurrencyLevelTaskScheduler ( int maxDegreeOfParallelism, int hardLimit ) : System |
Method | Description | |
---|---|---|
GetScheduledTasks ( ) : IEnumerable |
||
QueueTask ( Task task ) : void | ||
TryDequeue ( Task task ) : bool | ||
TryExecuteTaskInline ( Task task, bool taskWasPreviouslyQueued ) : bool |
Method | Description | |
---|---|---|
NotifyThreadPoolOfPendingWork ( ) : void |
protected final GetScheduledTasks ( ) : IEnumerable |
||
return | IEnumerable |
public LimitedConcurrencyLevelTaskScheduler ( int maxDegreeOfParallelism, int hardLimit ) : System | ||
maxDegreeOfParallelism | int | |
hardLimit | int | |
return | System |
protected final QueueTask ( Task task ) : void | ||
task | Task | |
return | void |
protected final TryDequeue ( Task task ) : bool | ||
task | Task | |
return | bool |
protected final TryExecuteTaskInline ( Task task, bool taskWasPreviouslyQueued ) : bool | ||
task | Task | |
taskWasPreviouslyQueued | bool | |
return | bool |