Hi, I'm facing an unexpected behavior of rt_task_wait_period().
xenomai: 3.0.3 ipipe: 4.1.18-arm-9 on kernel 4.1.36 from NXP arch: ARM SOC: iMX6sx Running simple attached program (compiled and linked using "xeno-config --alchemy --cflags" and "xeno-config --alchemy --ldflags"), rt_task_wait_period() never returns (instead return -EWOULDBLOCK) if rt_task_set_period() not called. Output with SET_PERIOD defined: Main 0 WAIT PERIOD DONE! WAIT PERIOD DONE! Main 2 WAIT PERIOD DONE! WAIT PERIOD DONE! Main 4 WAIT PERIOD DONE! WAIT PERIOD DONE! Main 6 ... Output with SET_PERIOD not defined: Main 0 Main 0 Main 0 Main 0 Main 0 ... Tested also with xenomai 3.0.6 from git on latest commit (on same ipipe and kernel). Am I wrong somewhere? Thank you, best regards. Mauro -------------- next part -------------- A non-text attachment was scrubbed... Name: test_xeno_waitperiod.c Type: text/x-csrc Size: 691 bytes Desc: not available URL: <http://xenomai.org/pipermail/xenomai/attachments/20180411/bf7b6b1c/attachment.c> _______________________________________________ Xenomai mailing list [email protected] https://xenomai.org/mailman/listinfo/xenomai
