From 6670139439a4b96d3b2eb4df617085e2bbe2ce14 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Sat, 20 Oct 2018 18:47:09 +0200 Subject: [PATCH] update example config --- etc/example.conf | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/etc/example.conf b/etc/example.conf index 48102ab7c..f56389fae 100644 --- a/etc/example.conf +++ b/etc/example.conf @@ -233,8 +233,9 @@ nodes = { loopback_node = { type = "loopback", # A loopback node will receive exactly the same data which has been sent to it. # The internal implementation is based on queue. - queuelen = 1024 # The queue length of the internal queue which buffers the samples. - samplelen = 64 # Each buffered sample can contain up to 64 values. + queuelen = 1024, # The queue length of the internal queue which buffers the samples. + samplelen = 64, # Each buffered sample can contain up to 64 values. + mode = "polling" # Use busy polling for synchronization of the read and write side of the queue }, shmem_node = { type = "shmem", @@ -247,7 +248,7 @@ nodes = { }, queuelen = 1024, # Length of the queues - polling = true, # We can busy-wait or use pthread condition variables for synchronizations + mode = "pthread", # We can busy-wait or use pthread condition variables for synchronizations # Execute an external process when starting the node which # then starts the other side of this shared memory channel