core: Add a second rw mempool

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

To keep the data and the ringbuffer separate, let's add another mempool just for the ringbuffer(s). That way, the client can open the ringbuffer shm file in rw mode and keep the data in ro mode.

b06e616 core: Add a second rw mempool
src/pulsecore/core.c | 14 ++++++++++++--
src/pulsecore/core.h | 5 ++++-
2 files changed, 16 insertions(+), 3 deletions(-)

Upstream: cgit.freedesktop.org


  • Share