[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: Wed, 9 May 2001 13:37:57 +0200 (CEST)
>From owner-rtl Wed May 9 06:27:20 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 f49CRKJ21387
for <rtl@rtlinux.org>; Wed, 9 May 2001 06:27:20 -0600
Received: (qmail 10062 invoked by uid 1002); 9 May 2001 12:20:23 -0000
Date: Wed, 9 May 2001 06:20:23 -0600
From: Victor Yodaiken <yodaiken@fsmlabs.com>
To: rtl@fsmlabs.com
Cc: rtl@rtlinux.org
Subject: Re: [rtl] Nanosleep and priority
Message-ID: <20010509062023.A10023@hq2>
References: <3AF9123A.F7EA2DE1@b2i-toulouse.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.15i
In-Reply-To: <3AF9123A.F7EA2DE1@b2i-toulouse.com>; from sgaume@b2i-toulouse.com on Wed, May 09, 2001 at 11:47:38AM +0200
Organization: FSM Labs
Are you sure that the first task is still running?
On Wed, May 09, 2001 at 11:47:38AM +0200, S?bastien GAUME wrote:
> Hello !
>
> I've come across surprising results while using the nanosleep function
> in my realtime tasks. I wrote a program in which two tasks are created.
> Both are periodic (running under the oneshot mode, period = 5 ms), are
> supposed to start at the same time and should last 2 ms. One has a
> greater priority level then the other. And I'm aiming to check if the
> realtime scheduling works well.
>
> What really surprises me is that the task with the lower priority level
>
> always starts about 20 us after the first task ! At that moment, this
> task is not supposed being able to wake up and to start...
>
> I feel the impression that the realtime tasks behave as if there is no
> realtime scheduling, although the fifo realtime scheduling should be on
> and work.
>
> So, I you have any idea of what the problem could be,...
>
> Thank you
>
> Sebastien
>
> -- [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/