C# Class DotNetWorkQueue.Queue.WaitForThreadToFinish

Waits until a thread has indicated its done processing
Afficher le fichier Open project: blehnen/DotNetWorkQueue Class Usage Examples

Méthodes publiques

Méthode Description
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.

Method Details

Wait() public méthode

Waits for specified worker thread to finish.
public Wait ( Thread workerThread ) : bool
workerThread Thread The worker thread.
Résultat bool

Wait() public méthode

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.
Résultat bool

WaitForThreadToFinish() public méthode

Initializes a new instance of the WaitForThreadToFinish class.
public WaitForThreadToFinish ( ILogFactory log ) : System
log ILogFactory The log.
Résultat System