git: libthread_xu: add support for named POSIX semaphores.
Joris Giovannangeli
joris at crater.dragonflybsd.org
Wed Jun 4 08:23:29 PDT 2014
commit 1a09a5c7d3dc38e61fc28441d066b071ad659dc0
Author: Joris Giovannangeli <joris at giovannangeli.fr>
Date: Wed Jun 4 15:48:38 2014 +0200
libthread_xu: add support for named POSIX semaphores.
* this implementation uses files as rendezvous and simply map files
into the process address space. It means one page per semaphore.
* by default, semaphores are created in /tmp/sem. If the
LIBTHREAD_SEM_PREFIX environment variable is defined, its value is
used as prefix.
Summary of changes:
etc/mtree/BSD.var.dist | 2 +
lib/libpthread/sem_open.3 | 194 ++++++++++++++--
lib/libthread_xu/thread/thr_sem.c | 463 ++++++++++++++++++++++++++++++++++++--
share/man/man7/hier.7 | 4 +
sys/sys/unistd.h | 2 +-
5 files changed, 619 insertions(+), 46 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/1a09a5c7d3dc38e61fc28441d066b071ad659dc0
--
DragonFly BSD source repository
More information about the Commits
mailing list