Re: [LAU] Simple, easy multithreaded circular buffer library for Linux?

From: Leslie P. Polzer <sky@email-addr-hidden-project.de>
Date: Tue Oct 14 2008 - 10:21:07 EEST

> I'm being lazy, so instead of researching everything that's out there, I'll ask here:
> can anyone recommend a relatively simple and painless abstraction library (GPL or LGPL
> of course) that will give me functions to create a thread in which I can stuff things
> into a ring buffer, and another thread in which I can pull stuff out of it?

http://jack-rack.cvs.sourceforge.net/viewvc/jack-rack/jack-rack/src/lock_free_fifo.h?revision=1.2&view=markup

http://jack-rack.cvs.sourceforge.net/viewvc/jack-rack/jack-rack/src/lock_free_fifo.c?revision=1.5&view=markup

JACK Rack provides a usage example, of course.

You using C(++)? Any reason you're not giving a dynamic language
(Common Lisp comes to mind) a shot?

  Leslie

_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user
Received on Tue Oct 14 12:15:03 2008

This archive was generated by hypermail 2.1.8 : Tue Oct 14 2008 - 12:15:03 EEST