Gilles Chanteperdrix ha scritto:
On Fri, Feb 1, 2008 at 10:42 AM, axel axel <softaxel@domain.hid> wrote:
2008/2/1, Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>:
On Fri, Feb 1, 2008 at 10:08 AM, axel axel <softaxel@domain.hid> wrote:
Hi,
i try to use rt_task_sleep( 10000000 ) in a user-space task under
round-robin scheduling but doesnt' work.
Do not forget that the number passed to rt_task_sleep is a count of
ticks (and documented as such), so, if you want to sleep for 10ms, you
should call:
rt_task_sleep(rt_timer_ns2ticks(10000000))
i try also this but nothing is changed.
Of course, but about the other question: do you observe the same
behaviour with xenomai trunk ?
What do you mean xenomai trunk ?
this is my actual configuration:
- xenomai-2.4-rc5
- kernel 2.6.20.4 arm cirrus ep9315 patched
have i try with xenomai 2.4.1 ?