On Jan 23, 2008 10:20 AM, axel axel <[EMAIL PROTECTED]> wrote:
> Hi,
>
> i'm testing xenomai but i have a problem:
>
> i try to run 2 TASKS with the same PRIORITY that never exit out of the cycle
> ( down there is the code of task )
> and never SLEEP

This will not work. Xenomai relies on Linux, so Xenomai tasks must let
Linux run from time to time.

but i see with the oscilloscope that the second task never
> execute.
>
> I set also round robin mode for the task, with rt_task_set_mode( 0,T_RRB,0
> ), and xnpod_activate_rr( LATCH ) kernel side.
>
> Which is the problem for you ?

If you use Xenomai in one-shot mode, round-robin is not implemented.
You have to switch Xenomai timer to periodic mode.

-- 
                                               Gilles Chanteperdrix

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

Reply via email to