"mini roadmap" for userland for 3.7-dev branch

Venkatesh Srinivas me at endeavour.zapto.org
Fri Nov 22 12:28:55 PST 2013


On Thu, Nov 21, 2013 at 8:18 AM, John Marino <dragonflybsd at marino.st> 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;


More information about the Users mailing list