Wed, 22 Mar 2000 [EMAIL PROTECTED] wrote:
> (BTW: from the Linux man page:
>     As SCHED_FIFO and SCHED_RR processes can preempt
>        other processes forever, only root processes are allowed to activate these
>        policies under Linux.
> )

Yep, you have to have *some* kind of adrenaline rush left with protected memory
and all! ;-) If you want to be completely safe, you could always throw in a
watchdog thread or something... I was thinking Magic SysRq key to kill the
current (SCHED_FIFO or SCHED_RR) thread as another alternative, but I might be
missing something that already exists.

And as for the root privileges requirement, it has been discussed adding a
"real time" user group capability instead. (I'm not up to date with this,
though.) Running RT apps as root just for the scheduling is not all that nice in
production systems, especially not if they are going to run user installed
third-party plugins in those threads...


Regards,

//David


     P r o f e s s i o n a l   L i n u x   A u d i o
· ··-------------------------------------------------·· ·
         MuCoS - http://www.linuxdj.com/mucos
     Audiality - http://www.angelfire.com/or/audiality
 David Olofson - [EMAIL PROTECTED]
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
---
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/

Reply via email to