C# 클래스 DotNetWorkQueue.Queue.StopThread

Stops a thread by aborting it if configured to do; otherwise it will wait (forever if needed) until the thread dies.
파일 보기 프로젝트 열기: blehnen/DotNetWorkQueue 1 사용 예제들

공개 메소드들

메소드 설명
StopThread ( IAbortWorkerThread abortWorkerThread, WaitForThreadToFinish waitForThreadToFinish ) : System.Threading

Initializes a new instance of the StopThread class.

TryForceTerminate ( Thread workerThread ) : bool

Stops a thread by aborting it if configured to do; otherwise it will wait (forever if needed) until the thread dies.

메소드 상세

StopThread() 공개 메소드

Initializes a new instance of the StopThread class.
public StopThread ( IAbortWorkerThread abortWorkerThread, WaitForThreadToFinish waitForThreadToFinish ) : System.Threading
abortWorkerThread IAbortWorkerThread The abort worker thread.
waitForThreadToFinish WaitForThreadToFinish The wait for thread to finish.
리턴 System.Threading

TryForceTerminate() 공개 메소드

Stops a thread by aborting it if configured to do; otherwise it will wait (forever if needed) until the thread dies.
public TryForceTerminate ( Thread workerThread ) : bool
workerThread System.Threading.Thread The worker thread.
리턴 bool