On Fri, Feb 1, 2008 at 10:08 AM, axel axel <[EMAIL PROTECTED]> 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))

>
> It returns the value -11.
>
> Any idea ?
>
> Thanks a lot
>
> Roberto Bielli
>
> _______________________________________________
>  Xenomai-core mailing list
>  Xenomai-core@gna.org
>  https://mail.gna.org/listinfo/xenomai-core
>
>



-- 
                                               Gilles Chanteperdrix

_______________________________________________
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core

Reply via email to