ROSSIER Daniel wrote:
> Hi all,
> 
> I've a strange behaviour with the attached piece of code.
> It's really simple: there are 3 tasks and we're spinning within the task in 
> order
> to simulate task load.
> 
> It's a pure academic exercice, so don't try to think about the usefulness of 
> this code ;-)
> 
> 
> Actually, after insmod'ing the code into the kernel, the system freezes and
> the "meteoDataAcquisition" task is suspended runaway by the internal xenomai 
> watchdog.
> 
> Why?
> 
> Anything wrong in this code?

Check the values you assign to rt_task_set_periodic. Kind of... fast?

> 
> Thanks for any advice.
> 
> Daniel
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Xenomai-help mailing list
> [email protected]
> https://mail.gna.org/listinfo/xenomai-help


Attachment: signature.asc
Description: OpenPGP digital signature

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

Reply via email to