Le 22 oct. 2012 à 15:09, Paul Davis a écrit :
>
>
> On Mon, Oct 22, 2012 at 9:03 AM, Stéphane Letz <letz@email-addr-hidden> wrote:
>
> Le 22 oct. 2012 à 14:50, Fons Adriaensen a écrit :
>
> > On Mon, Oct 22, 2012 at 02:31:35PM +0200, Stéphane Letz wrote:
> >
> >> You can use semas on OSX, you'll need to use sem_open API instead of sem_init.
> >> Using here: sem_open, sem_post/sem_wait, sem_unlink/sem_close with success
> >> (In Faust Work Stealing Scheduler code). And semas are actually a slight
> >> wrapper over Mach semas. You can check that in XNU source (here for
> >> instance http://opensource.apple.com/release/mac-os-x-1068/)
> >
> > Except that the implementation is incomplete. And worse, some functions
> > such as sem_init() do exist but don't work.
>
> http://subversion.ardour.org/svn/ardour2/branches/3.0/libs/pbd/pbd/semaphore.h
>
> (work by david robillard)
>
Even better....
Stéphane
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-dev
Received on Mon Oct 22 20:15:02 2012
This archive was generated by hypermail 2.1.8 : Mon Oct 22 2012 - 20:15:02 EEST