getPriority

abstract fun getPriority(): Int

Priority hints which tasks should be processed first. High priority tasks are processed earlier than low priority tasks, in general.

Start/acquire order is not guaranteed with this method, due to optimizations in the scheduler.