Adjusted patches after feedback & suggestions: PATCH 1: Setting the __THREAD_S_SAFE for thobj->status is done later only when necessary.
PATCH 2: Add warning when pipe() system call fails + assert on return value of notifier_init(). PATCH 3: Extends task-9 with 3 more test loops (of which two make the error that PATCH 1 solves occur). lib/copperplate/notifier.c | 5 ++++- lib/copperplate/threadobj.c | 6 ++++-- lib/psos/testsuite/task-9.c | 38 ++++++++++++++++++++++++++++++++++++-- 3 files changed, 44 insertions(+), 5 deletions(-) _______________________________________________ Xenomai mailing list Xenomai@xenomai.org http://www.xenomai.org/mailman/listinfo/xenomai