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

From: Dave Robillard <drobilla@email-addr-hidden>
Date: Sun Oct 30 2005 - 05:03:39 EET

On Sun, 2005-30-10 at 00:42 +0200, Richard Spindler wrote:
> I read the tutorial at http://userpages.umbc.edu/~berman3/ , it uses
> mutex+condition, is it okay to do this? Are there better ways?

That's a wonderful tutorial... on how NOT to write a Jack client.
(There's no lock free data structures "in C" or Linux? There's one
_included with Jack_...)

On mutexes, calling pthread_mutex_trylock in the process thread is okay,
but pthread_mutex_lock is not. Don't Do That(TM).

-DR-
Received on Sun Oct 30 08:15:05 2005

This archive was generated by hypermail 2.1.8 : Sun Oct 30 2005 - 08:15:05 EET