C# Class DotNetWorkQueue.Queue.WorkerTerminate

Attempts to terminate via joining to it.
Exibir arquivo Open project: blehnen/DotNetWorkQueue Class Usage Examples

Public Methods

Method Description
AttemptToTerminate ( Thread workerThread, System.TimeSpan timeout ) : bool

Attempts to terminate the passed in thread

Method Details

AttemptToTerminate() public method

Attempts to terminate the passed in thread
public AttemptToTerminate ( Thread workerThread, System.TimeSpan timeout ) : bool
workerThread Thread The worker thread.
timeout System.TimeSpan The timeout.
return bool