[LAD] ANN: convoLV2 0.2

Fons Adriaensen fons at linuxaudio.org
Mon Oct 22 12:50:23 UTC 2012


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. Earlier versions of zita-
convolver also required sem_getvalue() which doesn't exist or doesn't
work, I don't remember.

Having to do all of: destroy a sema, create a new one in the filesystem
(which requires unique names), open then unlink the new one, just to
reset its counter to zero is too much a hack for it to be acceptable.

Ciao,

-- 
FA

A world of exhaustive, reliable metadata would be an utopia.
It's also a pipe-dream, founded on self-delusion, nerd hubris
and hysterically inflated market opportunities. (Cory Doctorow)




More information about the Linux-audio-dev mailing list