Searched refs:sched_s (Results 1 – 1 of 1) sorted by relevance
195 struct sched_param sched_s; in mraa_set_priority() local197 memset(&sched_s, 0, sizeof(struct sched_param)); in mraa_set_priority()199 sched_s.sched_priority = sched_get_priority_max(SCHED_RR); in mraa_set_priority()201 sched_s.sched_priority = priority; in mraa_set_priority()204 return sched_setscheduler(0, SCHED_RR, &sched_s); in mraa_set_priority()