[vlc-devel] [PATCH] Use Mach semaphores on Mac OS X

Juho Vähä-Herttua juhovh at iki.fi
Thu May 6 20:41:07 CEST 2010


On 6.5.2010, at 21.02, Jan-Hinrich Fessel wrote:
> Couldn't you just use the standard semaphore calls as defined in <semaphore.h> resp. <sys/semaphore.h>
> where it states:

As mentioned in earlier mail, sem_init doesn't work on Mac even though it's defined in the header and using sem_open+sem_unlink+sem_close is not a good idea. Current implementation uses the standard semaphore calls and crashes on OS X.


Juho




More information about the vlc-devel mailing list