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
파일 보기 프로젝트 열기: TangibleCryptography/BitSharper

공개 메소드들

메소드 설명
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