Hi,

It seems this problem didn't occur before, but yesterday when I ran the same 
program on the same platform, a statement in my program calling 
rt_task_wait_period() returns -11. I looked up the error code, and 11 is the 
value of EAGAIN defined in <LINUX INCLUDE>/asm-generic/error_base.h. So I tried 
to modify my code like this

unsigned long overrun;

ret = -EAGAIN
while(-EAGAIN == ret)
    ret = rt_task_wait_period( &overrun);


But it keeps spinning and throws an error in the end: CPU time exceeded. 



What would be the possible cause? My platform is a Core 2 Duo laptop with 
Xenomai 2.6.2.1 on Linux 3.5.7.


Thanks a lot 

Tom
_______________________________________________
Xenomai mailing list
[email protected]
http://www.xenomai.org/mailman/listinfo/xenomai

Reply via email to