The OpenD Programming Language

TaskPool.priority

These functions allow getting and setting the OS scheduling priority of the worker threads in this TaskPool. They forward to core.thread.Thread.priority, so a given priority value here means the same thing as an identical priority value in core.thread.

Note: For a size zero pool, the getter arbitrarily returns core.thread.Thread.PRIORITY_MIN and the setter has no effect.

  1. int priority()
  2. void priority(int newPriority)
    class TaskPool
    @property @trusted
    void
    priority

Meta