C# Класс DotNetWorkQueue.TaskScheduling.ThreadPool

A thread pool for the queue. SmartThreadPool is used internally.
Наследование: IThreadPool
Показать файл Открыть проект

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

Метод Описание
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