Код: Выделить всё
#include
int sched_setscheduler(pid_t pid, int policy,
const struct sched_param *param);
"
Код: Выделить всё
The pthread_setschedparam()
#include
int pthread_setschedparam(pthread_t thread, int policy,
const struct sched_param *param);
< /code>
Каковы различия между этими двумя? Есть ли убедительная причина использовать один над другим?
Подробнее здесь: https://stackoverflow.com/questions/796 ... tscheduler