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: UnityThreadingAssembly: 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.