if( thread->realtime && getuid() == 0 ) {
struct sched_param param = { sched_priority : 1 };
if(pthread_setschedparam(thread->tid, SCHED_RR, ¶m) < 0)
if( thread->realtime && getuid() == 0 ) {
struct sched_param param = { sched_priority : 1 };
if(pthread_setschedparam(thread->tid, SCHED_RR, ¶m) < 0)