• Eric Wong's avatar
    Add a generic ring buffer implementation · bec08358
    Eric Wong authored
    This piece of code is from the JACK Audio Connection Kit
    (trimmed down a bit for better readability).
    
    The vector functions now reuse the common iovec struct used by
    writev/readv instead of reinventing an identical but
    differently-named struct.
    
    From the comments:
    > ISO/POSIX C version of Paul Davis's lock free ringbuffer C++ code.
    > This is safe for the case of one read thread and one write thread.
    
    License is LGPL 2.1 or later
    
    git-svn-id: https://svn.musicpd.org/mpd/trunk@7386 09075e82-0dd4-0310-85a5-a0d7c8717e4f
    bec08358
Name
Last commit
Last update
bs Loading commit data...
doc Loading commit data...
m4 Loading commit data...
scripts Loading commit data...
src Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
ChangeLog Loading commit data...
INSTALL Loading commit data...
Makefile.am Loading commit data...
README Loading commit data...
TODO Loading commit data...
UPGRADING Loading commit data...
autogen.sh Loading commit data...
build.mk Loading commit data...
configure.ac Loading commit data...