summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordimitri staessens <dimitri.staessens@ugent.be>2017-04-01 17:30:25 +0200
committerdimitri staessens <dimitri.staessens@ugent.be>2017-04-01 17:42:12 +0200
commit357fd25a4b7b3dde056de295a0e72eec6e878003 (patch)
treef75b9de298cbbfe579a80deffca641be72e4d4f8 /include
parentc72634b5d921bc06d8e06afb2a60a05a1acb7ee2 (diff)
downloadouroboros-357fd25a4b7b3dde056de295a0e72eec6e878003.tar.gz
ouroboros-357fd25a4b7b3dde056de295a0e72eec6e878003.zip
lib: Lockless implementation of the rbuff
Diffstat (limited to 'include')
-rw-r--r--include/ouroboros/config.h.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ouroboros/config.h.in b/include/ouroboros/config.h.in
index 067a2f85..46f784d4 100644
--- a/include/ouroboros/config.h.in
+++ b/include/ouroboros/config.h.in
@@ -44,6 +44,7 @@
#define SHM_BUFFER_SIZE 1 << 14
#define DU_BUFF_HEADSPACE 128
#define DU_BUFF_TAILSPACE 0
+#define SHM_RBUFF_LOCKLESS
#define SHM_RBUFF_PREFIX "/ouroboros.rbuff."
#define SHM_FLOW_SET_PREFIX "/ouroboros.sets."
#define IRMD_MAX_FLOWS 4096