Lines Matching defs:policy
1588 * for Linux, when schedule policy is SCHED_OTHER (default), priority is 0.
1593 int policy;
1602 r = pthread_getschedparam(tid, &policy, ¶m);
1607 if (SCHED_OTHER == policy && pthread_equal(tid, pthread_self())) {
1648 int policy;
1654 r = pthread_getschedparam(tid, &policy, ¶m);
1660 * for Linux, when schedule policy is SCHED_OTHER (default), priority must be 0,
1663 if (SCHED_OTHER == policy && pthread_equal(tid, pthread_self()))
1671 min = sched_get_priority_min(policy);
1672 max = sched_get_priority_max(policy);
1702 r = pthread_setschedparam(tid, policy, ¶m);