[linux-audio-dev] jack_callback <-> rest of the world

Jussi Laako jussi.laako at pp.inet.fi
Mon Oct 31 19:39:46 UTC 2005


On Mon, 2005-10-31 at 01:44 +0100, Florian Schmidt wrote:
> Btw: i just discovered that pthread mutexes and condvars can have a
> "process shared" flag which makes it possiblo to synchronize threads
> across processes as it seems. Could be useful for jack, no?
> pthread_condvar_setpshared()
> pthread_mutexattr_setpshared()

Yes, that's nice feature, I'm using that in my own apps. You can place
the objects in shared memory. It works with Linux 2.6 kernels and NPTL.
LinuxThreads doesn't have support for those (functions may exist, but
always return error).


-- 
Jussi Laako <jussi.laako at pp.inet.fi>




More information about the Linux-audio-dev mailing list