On Thu, Nov 21, 2013 at 8:18 AM, John Marino <[email protected]> wrote: > ah, another one: semaphores > >> man sem_open > >> SEM_OPEN(3) DragonFly Library Functions Manual >> NAME >> sem_open, sem_close, sem_unlink -- named semaphore operations >> LIBRARY >> POSIX Threads Library (libpthread, -lpthread) >> SYNOPSIS >> #include <semaphore.h> >> >> sem_t * >> sem_open(const char *name, int oflag, ...); >> >> int >> sem_close(sem_t *sem); >> >> int >> sem_unlink(const char *name); >> >> DESCRIPTION >> The sem_open(), sem_close(), and sem_unlink() functions are not >> supported >> by this implementation. > > > I'm starting to hit problems due to semaphores not being implemented on > DragonFly, so let's call this #11
I posted an implementation of sem_open / sem_close / sem_unlink() some time ago, that was not-strictly-POSIX-compliant, but was sufficient for Python's multiprocessing module to work; that may be worth resurrecting? -- vs;
