Home Download Change log

Introduction

In standard C there is no functionallity for ringbuffer data structures. Ringbuffers are a special form of arrays which offer a 'pipe'-like interface: data can be put into the ringbuffer at the end and get from the ringbuffer from the beginning. This small C library offer an efficient ringbuffer implementation for any data type which avoid expensive movement of the data content.

Features

Examples



    

Compile

Sorry, there is no makefile, but compilation is simple:
    
gcc -c ringbuffers.c -DHAVE_LONG_LONG
gcc -c lists.c
gcc -c global.c
gcc -c ringbuffers_demo.c
gcc -o ringbuffers_demo ringbuffers_demo.o ringbuffers.o lists.o global.o -lpthread
Please note:

License

Ringbuffer library is currently under GPL version 2.

Download

ringbuffers-0.01.tar.bz2

ChangeLog

2012-05-06 0.01
  * initial public release
      

    
Back to top