Lines Matching defs:param
13 * 3. Call pthread_attr_setschedparam with a sched param parameter
14 * 4. Call pthread_attr_getschedparam to get the sched param
33 struct sched_param param;
35 rc = pthread_attr_getschedparam(attr, ¶m);
40 if(priority != param.sched_priority) {
41 printf(ERROR_PREFIX "got wrong sched param\n");
51 struct sched_param param;
70 param.sched_priority = priority;
71 rc = pthread_attr_setschedparam(&attr, ¶m);
88 param.sched_priority = priority;
89 rc = pthread_attr_setschedparam(&attr, ¶m);