Метод | Описание | |
---|---|---|
PooledTaskRunner ( System.Threading.Task task, int maxIterationsPerRun ) : System | ||
Run ( Object o ) : void | ||
Shutdown ( ) : void | ||
Shutdown ( System.TimeSpan timeout ) : void |
shut down the task
|
|
ShutdownWithAbort ( TimeSpan timeout ) : void | ||
Wakeup ( ) : void |
We Expect MANY wakeup calls on the same TaskRunner.
|
Метод | Описание | |
---|---|---|
RunTask ( ) : void |
public PooledTaskRunner ( System.Threading.Task task, int maxIterationsPerRun ) : System | ||
task | System.Threading.Task | |
maxIterationsPerRun | int | |
Результат | System |
public Shutdown ( System.TimeSpan timeout ) : void | ||
timeout | System.TimeSpan | |
Результат | void |
public ShutdownWithAbort ( TimeSpan timeout ) : void | ||
timeout | TimeSpan | |
Результат | void |