C# Class 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.
Inheritance: IRejectedExecutionHandler
Afficher le fichier Open project: TangibleCryptography/BitSharper

Méthodes publiques

Méthode Description
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

Method Details

RejectedExecution() public méthode

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
Résultat void