summaryrefslogtreecommitdiff
path: root/src/config.hpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2010-04-29 20:34:48 +0200
committerMartin Sustrik <sustrik@250bpm.com>2010-04-29 20:34:48 +0200
commitae93ed318a450d6d763a5f629d478467f7362b07 (patch)
tree096abe5592237e31ab4d85d71b567e42d44889d4 /src/config.hpp
parent1ffc6dd41f2e2ce45c67f3fe08780c5a09cf667d (diff)
signaler rewritten in such a way that any number (>64) of threads can be used
Diffstat (limited to 'src/config.hpp')
-rw-r--r--src/config.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/config.hpp b/src/config.hpp
index 12e29ca..99c9d86 100644
--- a/src/config.hpp
+++ b/src/config.hpp
@@ -37,6 +37,10 @@ namespace zmq
// footprint of dispatcher.
command_pipe_granularity = 4,
+ // Number of signals that can be read by the signaler
+ // using a single system call.
+ signal_buffer_size = 8,
+
// Determines how often does socket poll for new commands when it
// still has unprocessed messages to handle. Thus, if it is set to 100,
// socket will process 100 inbound messages before doing the poll.