C# 클래스 Fanx.Util.ThreadPool.Worker

Worker is a reusable thread within the thread pool.
파일 보기 프로젝트 열기: xored/f4

공개 메소드들

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