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 [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
--
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/

Reply via email to