summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2012-02-16 10:08:47 +0900
committerMartin Sustrik <sustrik@250bpm.com>2012-02-16 10:08:47 +0900
commitda930314aafc6cc7b182f0bbfa8e06c0b743e62d (patch)
tree827e85effd4680cee8613781898fe7b0d053353c /doc
parent1e01248efc113cc9389f795157400a634730823e (diff)
Names of context options shortened
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/xs_setctxopt.txt12
1 files changed, 6 insertions, 6 deletions
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.