struct sched_param param;
memset(¶m, 0, sizeof(param));
- param.sched_priority = sched_get_priority_min(SCHED_OTHER);
- pthread_setschedparam(pth->thread, SCHED_OTHER, ¶m);
+ param.sched_priority = sched_get_priority_min(SCHED_RR);
+ pthread_setschedparam(pth->thread, SCHED_RR, ¶m);
return (Ecore_Thread *) work;
}
struct sched_param param;
memset(¶m, 0, sizeof(param));
- param.sched_priority = sched_get_priority_min(SCHED_OTHER);
- pthread_setschedparam(t, SCHED_OTHER, ¶m);
+ param.sched_priority = sched_get_priority_min(SCHED_RR);
+ pthread_setschedparam(t, SCHED_RR, ¶m);
return (Ecore_Thread *) worker;
}
struct sched_param param;
memset(¶m, 0, sizeof(param));
- param.sched_priority = sched_get_priority_min(SCHED_OTHER);
- pthread_setschedparam(pth->thread, SCHED_OTHER, ¶m);
+ param.sched_priority = sched_get_priority_min(SCHED_RR);
+ pthread_setschedparam(pth->thread, SCHED_RR, ¶m);
return (Ecore_Thread *) worker;
}