hi, i try to make my process realtime with the call; #define POLICY1 SCHED_FIFO #define POLICY2 SCHED_RR #define PRIORITY1 160//30 struct sched_param sparam; sparam.sched_priority=PRIORITY1; succ=pthread_setschedparam(pthread_self(), POLICY1,&sparam ); however succ returns EINVAL, but none of POLICY1 and sparam seems incorrect. should i call another function? thanks in advance. best regards. -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/