Johann Obermayr wrote:
> Am 11.03.2011 09:51, schrieb Gilles Chanteperdrix:
>> Johann Obermayr wrote:
>>> void task_waiter_do(void *data)
>>> {
>>>       rt_printf("task_waiter_do started\n");
>>>       while(task_waiter_flag == 0)
>>>           ; // rt_task_sleep( DELAYMS(1) );
>>>       rt_printf("task_waiter_do finished\n");
>>> }
>> What happens if you uncomment the rt_task_sleep here ?
> we have some shared code from another RT OS.
> And in this code there are some while(hw_state) ;  loops.

I just ask you to uncomment this line and run the test to see if it
changes anything. We are in the process of trying and understanding the
issue here... not fixing anything yet.

But from a general point of vieuw, code with unbounded busy waits with
Xenomai will not fly for other reasons.

-- 
                                            Gilles.

_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help

Reply via email to