Re: [Xenomai-core] rt_task_sleep doesn't work with round robin scheduling

2008-02-04 Thread Soft Axel
Gilles Chanteperdrix ha scritto: On Fri, Feb 1, 2008 at 11:02 AM, Soft Axel [EMAIL PROTECTED] wrote: Gilles Chanteperdrix ha scritto: On Fri, Feb 1, 2008 at 10:42 AM, axel axel [EMAIL PROTECTED] wrote: 2008/2/1, Gilles Chanteperdrix [EMAIL PROTECTED]: On Fri, Feb 1, 2008 at 10:08

Re: [Xenomai-core] rt_task_sleep doesn't work with round robin scheduling

2008-02-04 Thread Soft Axel
Gilles Chanteperdrix ha scritto: On Fri, Feb 1, 2008 at 11:02 AM, Soft Axel [EMAIL PROTECTED] wrote: Gilles Chanteperdrix ha scritto: On Fri, Feb 1, 2008 at 10:42 AM, axel axel [EMAIL PROTECTED] wrote: 2008/2/1, Gilles Chanteperdrix [EMAIL PROTECTED]: On Fri, Feb 1, 2008 at 10:08

Re: [Xenomai-core] rt_task_sleep doesn't work with round robin scheduling

2008-02-01 Thread Gilles Chanteperdrix
On Fri, Feb 1, 2008 at 10:08 AM, axel axel [EMAIL PROTECTED] wrote: Hi, i try to use rt_task_sleep( 1000 ) in a user-space task under round-robin scheduling but doesnt' work. It returns the value -11. Any idea ? Do you observe the same behaviour with xenomai trunk ? --

Re: [Xenomai-core] rt_task_sleep doesn't work with round robin scheduling

2008-02-01 Thread Gilles Chanteperdrix
On Fri, Feb 1, 2008 at 10:08 AM, axel axel [EMAIL PROTECTED] wrote: Hi, i try to use rt_task_sleep( 1000 ) 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

Re: [Xenomai-core] rt_task_sleep doesn't work with round robin scheduling

2008-02-01 Thread Gilles Chanteperdrix
On Fri, Feb 1, 2008 at 11:02 AM, Soft Axel [EMAIL PROTECTED] wrote: Gilles Chanteperdrix ha scritto: On Fri, Feb 1, 2008 at 10:42 AM, axel axel [EMAIL PROTECTED] wrote: 2008/2/1, Gilles Chanteperdrix [EMAIL PROTECTED]: On Fri, Feb 1, 2008 at 10:08 AM, axel axel [EMAIL PROTECTED]

Re: [Xenomai-core] rt_task_sleep doesn't work with round robin scheduling

2008-02-01 Thread Soft Axel
Gilles Chanteperdrix ha scritto: On Fri, Feb 1, 2008 at 10:42 AM, axel axel [EMAIL PROTECTED] wrote: 2008/2/1, Gilles Chanteperdrix [EMAIL PROTECTED]: On Fri, Feb 1, 2008 at 10:08 AM, axel axel [EMAIL PROTECTED] wrote: Hi, i try to use rt_task_sleep( 1000 ) in a user-space

Re: [Xenomai-core] rt_task_sleep doesn't work with round robin scheduling

2008-02-01 Thread Gilles Chanteperdrix
On Fri, Feb 1, 2008 at 10:42 AM, axel axel [EMAIL PROTECTED] wrote: 2008/2/1, Gilles Chanteperdrix [EMAIL PROTECTED]: On Fri, Feb 1, 2008 at 10:08 AM, axel axel [EMAIL PROTECTED] wrote: Hi, i try to use rt_task_sleep( 1000 ) in a user-space task under round-robin scheduling

Re: [Xenomai-core] rt_task_sleep doesn't work with round robin scheduling

2008-02-01 Thread axel axel
2008/2/1, Gilles Chanteperdrix [EMAIL PROTECTED]: On Fri, Feb 1, 2008 at 10:08 AM, axel axel [EMAIL PROTECTED] wrote: Hi, i try to use rt_task_sleep( 1000 ) 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