From 4a5998382c66a6359cfb729afe84025da4b86787 Mon Sep 17 00:00:00 2001 From: leonarf Date: Thu, 16 Jul 2015 08:59:19 +0200 Subject: [PATCH] THREAD PRIORITY option documentation Added documentation about context's options ZMQ_THREAD_SCHED_POLICY and ZMQ_THREAD_PRIORITY --- doc/zmq_ctx_set.txt | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/doc/zmq_ctx_set.txt b/doc/zmq_ctx_set.txt index bf848332..6c9b24ca 100644 --- a/doc/zmq_ctx_set.txt +++ b/doc/zmq_ctx_set.txt @@ -47,6 +47,28 @@ context. [horizontal] Default value:: 1 +ZMQ_THREAD_SCHED_POLICY: Set scheduling policy for I/O threads +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +The 'ZMQ_THREAD_SCHED_POLICY' argument sets the scheduling policy for +internal context's thread pool. This option is not available on windows. +Supported values for this option can be found in sched.h file, +or at http://man7.org/linux/man-pages/man2/sched_setscheduler.2.html. +This option only applies before creating any sockets on the context. + +[horizontal] +Default value:: -1 + +ZMQ_THREAD_PRIORITY: Set scheduling priority for I/O threads +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +The 'ZMQ_THREAD_PRIORITY' argument sets scheduling priority for +internal context's thread pool. This option is not available on windows. +Supported values for this option depend on chosen scheduling policy. +Details can be found in sched.h file, or at http://man7.org/linux/man-pages/man2/sched_setscheduler.2.html. +This option only applies before creating any sockets on the context. + +[horizontal] +Default value:: -1 + ZMQ_MAX_SOCKETS: Set maximum number of sockets ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ The 'ZMQ_MAX_SOCKETS' argument sets the maximum number of sockets allowed