diff options
author | Martin Sustrik <sustrik@250bpm.com> | 2010-05-05 13:03:26 +0200 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2010-05-05 13:03:26 +0200 |
commit | 44dd005ff05431b05a8e04858a23784b252da870 (patch) | |
tree | 0ec8c284057428f2cfa9648cc373a44451cd6dff /src/config.hpp | |
parent | 235ed3a3dcffb7c658cbc9253eae9de54db24533 (diff) |
number of application threads to use 0MQ sockets is unlimited; app_threads parameter in zmq_init is unused and obsolete
Diffstat (limited to 'src/config.hpp')
-rw-r--r-- | src/config.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
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% |