summaryrefslogtreecommitdiff
path: root/src/config.hpp
diff options
context:
space:
mode:
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 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%