See examples/misc/reserve.c
On Fri, Jun 01, 2001 at 02:50:54PM -0700, Kim Le wrote:
> Hi All,
>
> I have a linux box with two pentium processor and want to reserver 1 CPU for
> realtime task (running continuously) and the other for normal linux task.
> The two should not interfere each other. Is this possible in RTLinux?
>
> I modified the code in /examples/mutex to have a indefinite loop
>
> pthread_attr_setcpu_np(1);
> while (1){
> do some thing
> }
>
> but this loop somehow take over completely the system and crash. I cannot
> even reboot the system. Any one knows how please give me a hint. Thank you
> very much in advance for your help.
>
>
> -- [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/
-- [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/