Re: [LAD] JACK session API in Perl, Python, Ruby, and Lua

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <Linux-audio-dev@...>
Date: Wednesday, March 28, 2012 - 6:51 pm

Am 28. März 2012 19:35 schrieb Ed Sweeney :

Thanks for asking back.

Note:
JacksEventQueue_put()
uses malloc() and also a blocking mutex.

This has to be modified to be lock-free (non-blocking).
But rather use a different, existing, verified data-structure.

jack_ringbuffer is a possible option, for IO to/from the callback.

more here:
[[ http://wiki.linuxaudio.org/wiki/programming_libraries#lockfree_non-block...
}}

But don't get lost. The topic is large... ;)

Your code looks very clean.
I like that you are using C.

Emanuel
--
E.R.
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [LAD] JACK session API in Perl, Python, Ruby, and Lua, Emanuel Rumpf, (Wed Mar 28, 6:51 pm)
Re: [LAD] JACK session API in Perl, Python, Ruby, and Lua, David Robillard, (Wed Mar 28, 5:45 pm)
Re: [LAD] JACK session API in Perl, Python, Ruby, and Lua, David Robillard, (Wed Mar 28, 5:55 pm)