From da930314aafc6cc7b182f0bbfa8e06c0b743e62d Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Thu, 16 Feb 2012 10:08:47 +0900 Subject: Names of context options shortened Signed-off-by: Martin Sustrik --- doc/xs_setctxopt.txt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'doc') diff --git a/doc/xs_setctxopt.txt b/doc/xs_setctxopt.txt index bc7d018..be7d06f 100644 --- a/doc/xs_setctxopt.txt +++ b/doc/xs_setctxopt.txt @@ -24,9 +24,9 @@ The 'option_len' argument is the size of the option value in bytes. The following options can be set with the _xs_setctxopt()_ function: -XS_CTX_MAX_SOCKETS: Set maximum number of sockets -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -The 'XS_CTX_MAX_SOCKETS' option shall set specify the maximum nuber of sockets +XS_MAX_SOCKETS: Set maximum number of sockets +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +The 'XS_MAX_SOCKETS' option shall set specify the maximum nuber of sockets that can be open at the same time. [horizontal] @@ -34,9 +34,9 @@ Option value type:: int Option value unit:: sockets Default value:: 512 -XS_CTX_REENTRANT: Specify whether sockets should be thread-safe -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -If 'XS_CTX_REENTRANT' option is set to 1 it is safe to access single Crossroads +XS_REENTRANT: Specify whether sockets should be thread-safe +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +If 'XS_REENTRANT' option is set to 1 it is safe to access single Crossroads socket from multiple threads in parallel. If it is set to 0 it can be accessed by at most one thread at any single point of time. -- cgit v1.2.3