C# 클래스 DotNetWorkQueue.TaskScheduling.ThreadPool

A thread pool for the queue. SmartThreadPool is used internally.
상속: IThreadPool
파일 보기 프로젝트 열기: blehnen/DotNetWorkQueue

공개 메소드들

메소드 설명
Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

QueueWorkItem ( System.Action action ) : void

Queues a work item.

Start ( ) : void

Starts this instance.

ThreadPool ( ThreadPoolConfiguration configuration ) : System

Initializes a new instance of the ThreadPool class.

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources.

ThrowIfDisposed ( [ name = "" ) : void

Throws an exception if this instance has been disposed.

메소드 상세

Dispose() 공개 메소드

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

Releases unmanaged and - optionally - managed resources.
protected Dispose ( bool disposing ) : void
disposing bool true to release both managed and unmanaged resources; false to release only unmanaged resources.
리턴 void

QueueWorkItem() 공개 메소드

Queues a work item.
public QueueWorkItem ( System.Action action ) : void
action System.Action The work item to queue.
리턴 void

Start() 공개 메소드

Starts this instance.
public Start ( ) : void
리턴 void

ThreadPool() 공개 메소드

Initializes a new instance of the ThreadPool class.
public ThreadPool ( ThreadPoolConfiguration configuration ) : System
configuration ThreadPoolConfiguration The configuration.
리턴 System

ThrowIfDisposed() 보호된 메소드

Throws an exception if this instance has been disposed.
protected ThrowIfDisposed ( [ name = "" ) : void
name [ The name.
리턴 void