Processes the next available tasks and returns true when it has been processed and false otherwise. This method will block until th exitHandle has been set or a task 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 ProcessNextTask(
	WaitHandle exitHandle
)
Visual Basic
Public Function ProcessNextTask ( _
	exitHandle As WaitHandle _
) As Boolean
Visual C++
public:
bool ProcessNextTask(
	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