Lines Matching refs:policy
80 int policy;
101 int rc, i, j, policy, tid = gettid();
117 pthread_getschedparam(pthr->pthread, &policy, &schedp);
124 pthr->priority, policy, schedp.sched_priority);
129 policy = sched_getscheduler(tid);
132 policy, schedp.sched_priority);
150 int rc, i, j, policy, tid = gettid();
166 pthread_getschedparam(pthr->pthread, &policy, &schedp);
174 pthr->priority, policy, schedp.sched_priority);
184 policy = sched_getscheduler(tid);
187 tid, pthr->priority, i, policy,
206 int rc, i, j, policy, tid = gettid();
222 pthread_getschedparam(pthr->pthread, &policy, &schedp);
231 policy = sched_getscheduler(tid);
234 tid, pthr->priority, i, policy,
253 int retc, policy, inherit;
263 policy = thrd->policy;
265 if (pthread_attr_setschedpolicy(&(thrd->attr), policy) != 0) {
266 printf("Can't set policy %d\n", policy);
268 if (pthread_attr_getschedpolicy(&(thrd->attr), &policy) != 0) {
269 printf("Can't get policy\n");
271 printf("Policy in attribs is %d\n", policy);
345 arg1.policy = SCHED_OTHER;
348 arg2.policy = SCHED_RR;
351 arg3.policy = SCHED_RR;
354 arg4.policy = SCHED_RR;
357 arg5.policy = SCHED_RR;