C# Класс BitSharper.Threading.Execution.ThreadPoolExecutor.CallerRunsPolicy

A handler for rejected tasks that runs the rejected task directly in the calling thread of the IRunnable.Run method, unless the executor has been shut down, in which case the task is discarded.
Наследование: IRejectedExecutionHandler
Показать файл Открыть проект

Открытые методы

Метод Описание
RejectedExecution ( IRunnable runnable, ThreadPoolExecutor executor ) : void

Executes task runnable in the caller's thread, unless executor has been shut down, in which case the task is discarded. the executor attempting to execute this task the runnable task requested to be executed

Описание методов

RejectedExecution() публичный Метод

Executes task runnable in the caller's thread, unless executor has been shut down, in which case the task is discarded. the executor attempting to execute this task the runnable task requested to be executed
public RejectedExecution ( IRunnable runnable, ThreadPoolExecutor executor ) : void
runnable IRunnable
executor ThreadPoolExecutor
Результат void