C# Класс Fanx.Util.ThreadPool.Worker

Worker is a reusable thread within the thread pool.
Показать файл Открыть проект

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

Метод Описание
Worker ( ThreadPool pool, Work work ) : System.Collections

Construct with name and initial work to execute.

equals ( object o ) : bool

Equality must be reference for storage in a hash table.

run ( ) : void

A worker thread loops repeatly executing work until it times out.

Приватные методы

Метод Описание
run ( Work work ) : void

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

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

Construct with name and initial work to execute.
public Worker ( ThreadPool pool, Work work ) : System.Collections
pool ThreadPool
work Work
Результат System.Collections

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

Equality must be reference for storage in a hash table.
public equals ( object o ) : bool
o object
Результат bool

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

A worker thread loops repeatly executing work until it times out.
public run ( ) : void
Результат void