Thread.priority

Sets the scheduling priority for the associated thread.

Note: Setting the priority of a thread that already terminated might have no effect.

  1. int priority [@property getter]
  2. int priority [@property setter]
    class Thread
    final @property
    void
    priority
    (
    int val
    )

Parameters

val int

The new scheduling priority of this thread.

Meta