Click or drag to resize

WorkerThreadPoolWaitFinish(Int32) Method

Waits until all threads finished processing (the workitem queue is empty).

Namespace: Jam.Shell
Assembly: ShellBrowser.Core (in ShellBrowser.Core.dll) Version: 7.2
Syntax
public bool WaitFinish(
	int millis
)

Parameters

millis  Int32
The timeout in milliseconds.

Return Value

Boolean
true if threads finished processing within timespan, false otherwise
Remarks
Might immediately return if the workitem queue has already been empty without anyone waiting for it. (The AutoResetEvent is still signalled in this case).
See Also