WorkerThreadPoolWaitFinish Method (Int32)
Waits until all threads finished processing (the workitem queue is empty).
ShellBrowser.Core (in ShellBrowser.Core.dll) Version: 7.0
public bool WaitFinish(
Public Function WaitFinish (
millis As Integer
) As Boolean
member WaitFinish :
millis : int -> bool
- Type: SystemInt32
The timeout in milliseconds.
true if threads finished processing within timespan, false otherwise
Might immediately return if the workitem queue has already been empty without anyone waiting for it. (The AutoResetEvent is still signalled in this case).