[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

BOUNCE rtl@rtlinux.org: Approval required: Non-member submissionfrom ["Kim Le" <kiml@lewiz.com>] (fwd)



>From owner-rtl Fri Jun  1 15:59:28 2001
Received: from lysimachus.hosting.pacbell.net (lysimachus.hosting.pacbell.net [216.100.98.17])
	by hq.fsmlabs.com (8.11.2/8.11.2) with ESMTP id f51LxSs20016
	for <rtl@rtlinux.org>; Fri, 1 Jun 2001 15:59:28 -0600
Received: from lewiz5 (LE-WIZCOMMUNICATIONS-cust-2196412.cust-rtr.pacbell.net [63.199.86.102])
	by lysimachus.hosting.pacbell.net
	id RAA20611; Fri, 1 Jun 2001 17:54:05 -0400 (EDT)
	[ConcentricHost SMTP Relay 1.7]
Errors-To: <kiml@lewiz.com>
From: "Kim Le" <kiml@lewiz.com>
To: <rtl@rtlinux.org>
Subject: Realtime linux task on SMP machine
Date: Fri, 1 Jun 2001 14:50:54 -0700
Message-ID: <CDEDLLCLFEMDLAONMHGAEEOFCAAA.kiml@lewiz.com>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700

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.