diff options
author | Martin Lucina <mato@kotelna.sk> | 2010-06-01 22:22:50 +0200 |
---|---|---|
committer | Martin Lucina <mato@kotelna.sk> | 2010-06-01 22:22:50 +0200 |
commit | 9d00d300b0d6b45d2954792540cc95a0c3fb6a01 (patch) | |
tree | 14334a920ef69a80624da1482455e7f5a5b4834b | |
parent | 8ba1d3c8ed32b39bb1133330d496587d96020e7e (diff) |
Documentation: zmq_init() API changes for 2.0.7
-rw-r--r-- | doc/zmq_init.txt | 19 |
1 files changed, 5 insertions, 14 deletions
diff --git a/doc/zmq_init.txt b/doc/zmq_init.txt index c1a5877..04bbbc8 100644 --- a/doc/zmq_init.txt +++ b/doc/zmq_init.txt @@ -9,24 +9,16 @@ zmq_init - initialise 0MQ context SYNOPSIS -------- -*void *zmq_init (int 'app_threads', int 'io_threads', int 'flags');* +*void *zmq_init (int 'io_threads');* DESCRIPTION ----------- -The _zmq_init()_ function initialises a 0MQ 'context' with 'app_threads' -application threads and 'io_threads' I/O threads. - -The 'app_threads' argument specifies the maximum number of application threads -that will be using 0MQ sockets in this 'context'. As a guide, set this to the -number of threads in your application. +The _zmq_init()_ function initialises a 0MQ 'context'. The 'io_threads' argument specifies the size of the 0MQ thread pool to handle -I/O operations. If your application is using 'inproc' messaging exclusively you -may set this to zero, otherwise set it to at least one. - -There are no flags defined at the moment and the 'flags' argument should be set -to zero. +I/O operations. If your application is using only the 'inproc' transport for +messaging you may set this to zero, otherwise set it to at least one. RETURN VALUE @@ -39,8 +31,7 @@ of the values defined below. ERRORS ------ *EINVAL*:: -The number of 'app_threads' requested is less than one, or the number of -'io_threads' requested is negative. +An invalid number of 'io_threads' was requested. SEE ALSO |