Processes all remaining tasks and returns true when something has been processed and false otherwise. This method will block until th exitHandle has been set or tasks should be processed. Only call this inside the thread you want the tasks to process to be processed.

Namespace: UnityThreading
Assembly: UnityThreading (in UnityThreading.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public bool ProcessTasks(
	WaitHandle exitHandle
)
Visual Basic
Public Function ProcessTasks ( _
	exitHandle As WaitHandle _
) As Boolean
Visual C++
public:
bool ProcessTasks(
	WaitHandle^ exitHandle
)

Parameters

exitHandle
Type: System.Threading..::..WaitHandle
The handle to indicate an early abort of the wait process.

Return Value

False when the exitHandle has been set, true otherwise.

See Also