srbchannel: Add the shared ringbuffer object

System Internals / PulseAudio - David Henningsson [canonical.com] - 27 June 2014 07:16 UTC

An shm ringbuffer that is used for low overhead server-client communication. Signalling is done through eventfd semaphores - it's based on pa_fdsem to avoid syscalls if nothing is waiting on the other side.

0cd4d35 srbchannel: Add the shared ringbuffer object
src/Makefile.am | 3 +-
src/pulsecore/srbchannel.c | 305 ++++++++++++++++++++++++++++++++++++++++++++
src/pulsecore/srbchannel.h | 62 +++++++++
3 files changed, 369 insertions(+), 1 deletion(-)

Upstream: cgit.freedesktop.org


  • Share