See Also: WorkQueue
Assembly: Urho (in Urho.dll)
Assembly Versions: 18.104.22.168
The members of Urho.WorkQueue are listed below.
See Also: UrhoObject
|[read-only]||Completing||Boolean. Return whether the queue is currently completing work in the main thread.|
|[read-only]||FreeItem||WorkItem. Get pointer to an usable WorkItem from the item pool. Allocate one if no more free items.|
|NonThreadedWorkMs||Int32. Return how many milliseconds maximum to spend on non-threaded low-priority work. Or Set how many milliseconds maximum per frame to spend on low-priority work, when there are no worker threads.|
|[read-only]||NumThreads||UInt32. Return number of worker threads.|
|Tolerance||Int32. Return the pool tolerance. Or Set the pool telerance before it starts deleting pool items.|
|Type||StringHash. Urho's type system type.|
|TypeName||String. Urho's low-level type name.|
|TypeNameStatic||String. Urho's low-level type name, accessible as a static method.|
|TypeStatic||StringHash. Urho's low-level type, accessible as a static method.|
Finish all queued work which has at least the specified priority. Main thread will also execute priority work. Pause worker threads if no more work remains.
Create worker threads. Can only be called once.
Return whether all work with at least the specified priority is finished.
Pause worker threads.
Resume worker threads.
Subscribes to the WorkItemCompleted event raised by the WorkQueue.