C# Класс DotNetWorkQueue.Queue.WaitForThreadToFinish

Waits until a thread has indicated its done processing
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
Wait ( Thread workerThread ) : bool

Waits for specified worker thread to finish.

Wait ( Thread workerThread, System.TimeSpan timeout ) : bool

Waits for specified worker thread to finish, or until the timeout period has been reached.

WaitForThreadToFinish ( ILogFactory log ) : System

Initializes a new instance of the WaitForThreadToFinish class.

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

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

Waits for specified worker thread to finish.
public Wait ( Thread workerThread ) : bool
workerThread Thread The worker thread.
Результат bool

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

Waits for specified worker thread to finish, or until the timeout period has been reached.
public Wait ( Thread workerThread, System.TimeSpan timeout ) : bool
workerThread Thread The worker thread.
timeout System.TimeSpan The timeout.
Результат bool

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

Initializes a new instance of the WaitForThreadToFinish class.
public WaitForThreadToFinish ( ILogFactory log ) : System
log ILogFactory The log.
Результат System