This fixes the issue Tamas reported with pshared semaphores. Still, the code is complex and requires a careful review.
Eventually, some test case for pshared setups would be good. I don't think smokey can already provide the necessary infrastructure for that, though. Jan Jan Kiszka (2): cobalt/posix/sem: Fix semaphore leak on failing xnmalloc cobalt/posix/sem: Fix sem_open for preexisting semaphores kernel/cobalt/posix/nsem.c | 15 ++++++++++----- kernel/cobalt/posix/sem.c | 23 ++++++++++++++++++----- kernel/cobalt/posix/sem.h | 3 +++ 3 files changed, 31 insertions(+), 10 deletions(-) -- 2.13.6 _______________________________________________ Xenomai mailing list Xenomai@xenomai.org https://xenomai.org/mailman/listinfo/xenomai