[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
BOUNCE rtl@rtlinux.org: Approval required: (fwd)
- To: rtl@rtlinux.org
- Subject: BOUNCE rtl@rtlinux.org: Approval required: (fwd)
- From: Der Herr Hofrat <der.herr@hofr.at>
- Date: Sat, 2 Jun 2001 19:52:56 +0200 (CEST)
>From owner-rtl Sat Jun 2 08:44:22 2001
Received: from hq2.fsmlabs.com (hq2.fsmlabs.com [209.155.42.199])
by hq.fsmlabs.com (8.11.2/8.11.2) with SMTP id f52EiMs22802
for <rtl@rtlinux.org>; Sat, 2 Jun 2001 08:44:22 -0600
Received: (qmail 24983 invoked by uid 1002); 2 Jun 2001 14:36:11 -0000
Date: Sat, 2 Jun 2001 08:36:11 -0600
From: Victor Yodaiken <yodaiken@fsmlabs.com>
To: rtl@fsmlabs.com
Cc: rtl@rtlinux.org
Subject: Re: [rtl] Realtime linux task on SMP machine
Message-ID: <20010602083611.A24947@hq2>
References: <CDEDLLCLFEMDLAONMHGAEEOFCAAA.kiml@lewiz.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.15i
In-Reply-To: <CDEDLLCLFEMDLAONMHGAEEOFCAAA.kiml@lewiz.com>; from kiml@lewiz.com on Fri, Jun 01, 2001 at 02:50:54PM -0700
Organization: FSM Labs
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 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/