Thread.priority

Gets the scheduling priority for the associated thread.

Note: Getting the priority of a thread that already terminated might return the default priority.

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

Return Value

Type: int

The scheduling priority of this thread.

Meta