Home | History | Annotate | Download | only in pthread_attr_setschedpolicy

Lines Matching refs:priorities

33 /* Priorities for the threads, must be unique, non-zero, and ordered */
39 static int priorities[3];
78 if (!priorities[0])
79 priorities[0] = sp.sched_priority;
80 else if (!priorities[1])
81 priorities[1] = sp.sched_priority;
83 priorities[2] = sp.sched_priority;
194 /* priorities must be high to low */
196 if (priorities[0] != PRIO_HIGH)
198 priorities[0], PRIO_HIGH);
199 else if (priorities[1] != PRIO_MED)
201 priorities[1], PRIO_MED);
202 else if (priorities[2] != PRIO_LOW)
204 priorities[2], PRIO_LOW);