From 921da22147e201455837bcd38df1af33aceff26f Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Tue, 13 Mar 2012 11:10:33 +0100 Subject: io_threads argument removed from xs_init() The argument was changed to a context option (XS_IO_THREADS). 0MQ compatibility mode sets the option and ensures that there's at least one I/O thread present. Signed-off-by: Martin Sustrik --- doc/xs_setctxopt.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'doc/xs_setctxopt.txt') diff --git a/doc/xs_setctxopt.txt b/doc/xs_setctxopt.txt index dded922..d26d319 100644 --- a/doc/xs_setctxopt.txt +++ b/doc/xs_setctxopt.txt @@ -34,6 +34,16 @@ Option value type:: int Option value unit:: sockets Default value:: 512 +XS_IO_THREADS: Set number of worker threads +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +The 'XS_IO_THREADS' option shall set specify the size of the thread pool to +handle I/O operations. The value should be at least 1. + +[horizontal] +Option value type:: int +Option value unit:: threads +Default value:: 1 + RETURN VALUE ------------ The _xs_setctxopt()_ function shall return zero if successful. Otherwise it -- cgit v1.2.3