[Xenomai] [PATCH 0/2] Named semaphore fixes

Jan Kiszka jan.kiszka at siemens.com
Thu May 24 19:44:51 CEST 2018


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




More information about the Xenomai mailing list