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