From 44dd005ff05431b05a8e04858a23784b252da870 Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Wed, 5 May 2010 13:03:26 +0200 Subject: number of application threads to use 0MQ sockets is unlimited; app_threads parameter in zmq_init is unused and obsolete --- src/config.hpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/config.hpp') diff --git a/src/config.hpp b/src/config.hpp index 5b51a08..e211f34 100644 --- a/src/config.hpp +++ b/src/config.hpp @@ -27,6 +27,10 @@ namespace zmq enum { + // Maximal number of OS threads that can own 0MQ sockets + // at the same time. + max_app_threads = 512, + // Number of new messages in message pipe needed to trigger new memory // allocation. Setting this parameter to 256 decreases the impact of // memory allocation by approximately 99.6% -- cgit v1.2.3