Lines Matching refs:schedp
102 struct sched_param schedp;
117 pthread_getschedparam(pthr->pthread, &policy, &schedp);
124 pthr->priority, policy, schedp.sched_priority);
128 sched_getparam(tid, &schedp);
132 policy, schedp.sched_priority);
151 struct sched_param schedp;
166 pthread_getschedparam(pthr->pthread, &policy, &schedp);
174 pthr->priority, policy, schedp.sched_priority);
183 sched_getparam(tid, &schedp);
188 schedp.sched_priority);
207 struct sched_param schedp;
222 pthread_getschedparam(pthr->pthread, &policy, &schedp);
230 sched_getparam(tid, &schedp);
235 schedp.sched_priority);
251 struct sched_param schedp;
261 memset(&schedp, 0, sizeof(schedp));
262 schedp.sched_priority = thrd->priority;
273 if (pthread_attr_setschedparam(&(thrd->attr), &schedp) != 0) {
276 if (pthread_attr_getschedparam(&(thrd->attr), &schedp) != 0) {
279 printf("Priority in attribs is %d\n", schedp.sched_priority);