Lines Matching defs:prio
73 int prio;
78 prio = priority;
81 if (prio < sched_get_priority_min (policy) ||
82 prio > sched_get_priority_max (policy))
92 if (THREAD_PRIORITY_IDLE < prio && THREAD_PRIORITY_LOWEST > prio)
94 prio = THREAD_PRIORITY_LOWEST;
96 else if (THREAD_PRIORITY_TIME_CRITICAL > prio
97 && THREAD_PRIORITY_HIGHEST < prio)
99 prio = THREAD_PRIORITY_HIGHEST;
107 if (0 == SetThreadPriority (tp->threadH, prio))