Home
last modified time | relevance | path

Searched refs:task_priority (Results 1 – 4 of 4) sorted by relevance

/xnu-11215/osfmk/kern/
H A Dthread_policy.c690 priority = thread->max_priority - thread->task_priority; in thread_set_mode_and_absolute_pri_internal()
699 priority += thread->task_priority; in thread_set_mode_and_absolute_pri_internal()
707 thread->importance = priority - thread->task_priority; in thread_set_mode_and_absolute_pri_internal()
1118 priority += thread->task_priority; in thread_recompute_priority()
1166 if (priority < thread->task_priority) { in thread_recompute_priority()
1167 priority = thread->task_priority; in thread_recompute_priority()
1206 thread->task_priority = (int16_t)priority; in thread_policy_update_tasklocked()
1275 sched_set_thread_base_priority(thread, thread->task_priority); in thread_policy_reset()
H A Dpriority.c360 thread->importance = new_priority - thread->task_priority; in sched_set_kernel_thread_priority()
H A Dthread.h567 int16_t task_priority; /* copy of task base priority */ member
H A Dthread.c1515 new_thread->task_priority = parent_task->priority; in thread_create_internal()
1532 new_thread->importance = new_priority - new_thread->task_priority; in thread_create_internal()