[LAD] memory allocation for the real time thread, opinions wanted

Harry van Haaren harryhaaren at gmail.com
Tue Feb 28 14:16:20 UTC 2012


On Tue, Feb 28, 2012 at 1:01 AM, Paul Coccoli <pcoccoli at gmail.com> wrote:

> Why not just use 2 ringbuffers: one to send pointers to the RT thread,
> and a second to send them back to the low prio thread (so it can free
> them)
>
The entire Luppp engine is based around that principle. The only downside
is that one can't prioritze the messages, they must all be handled every
process() to ensure that nothing essential is missed.. But that's something
small I can live with :)

-Harry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxaudio.org/pipermail/linux-audio-dev/attachments/20120228/e32a5987/attachment.html>


More information about the Linux-audio-dev mailing list