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 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 want to sleep for 10ms, you
should call:
rt_task_sleep(rt_timer_ns2ticks(1000))

 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 ?



No, please try Xenomai trunk:
https://gna.org/svn/?group=xenomai

  

I try with the xenomai trunk and this is OK.

But i have one question: the xenomai trunk is stable or every change is 
uploaded ?
Because i can't upgrade my board very frequently and i want to put a 
stable version.


thanks a lot

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


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 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 want to sleep for 10ms, you
should call:
rt_task_sleep(rt_timer_ns2ticks(1000))

 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 ?



No, please try Xenomai trunk:
https://gna.org/svn/?group=xenomai

  


Yes, it works.

But i have one question.
The main trunk is stable or every change is uploaded ?

For me it's very important because i can't upgrade the board very 
frequently.


Roberto


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


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 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(1000))
  

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 ?

thanks

Roberto Bielli
___
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core