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

From: Jussi Laako <jussi.laako@email-addr-hidden>
Date: Mon Oct 31 2005 - 21:39:46 EET

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@email-addr-hidden>
Received on Tue Nov 1 00:15:05 2005

This archive was generated by hypermail 2.1.8 : Tue Nov 01 2005 - 00:15:05 EET