[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [rtl] Realtime linux task on SMP machine
Yes,
i think, U can have two processors one for realtime tasks and another for
non realtime tasks.
but i am not 100% sure
----- Original Message -----
From: Kim Le <kiml@lewiz.com>
To: <rtl@rtlinux.org>
Sent: Friday, June 01, 2001 10:50 PM
Subject: [rtl] Realtime linux task on SMP machine
> 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 majordomo@rtlinux.org OR
> echo "unsubscribe rtl <Your_email>" | mail majordomo@rtlinux.org
> --
> For more information on Real-Time Linux see:
> http://www.rtlinux.org/rtlinux/
>