summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2011-02-09 15:32:15 +0100
committerMartin Sustrik <sustrik@250bpm.com>2011-02-09 15:32:15 +0100
commit80ac398bba928fa7f245d2e107071677a13185cf (patch)
tree57c51a7adb5f4cb1a91396fe0b223538a4d428d7 /doc
parent889424e675eecd9d9c7d1121456401d5c43029a5 (diff)
Initial implementation of reaper thread.
Reaper thread destroys the socket asynchronously. zmq_term() can be interrupted by a signal (EINTR). zmq_socket() will return ETERM after zmq_term() was called. Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/zmq_socket.txt3
-rw-r--r--doc/zmq_term.txt2
2 files changed, 4 insertions, 1 deletions
diff --git a/doc/zmq_socket.txt b/doc/zmq_socket.txt
index 7ac8fa1..da41ad7 100644
--- a/doc/zmq_socket.txt
+++ b/doc/zmq_socket.txt
@@ -315,7 +315,8 @@ ERRORS
The requested socket 'type' is invalid.
*EFAULT*::
The provided 'context' was not valid (NULL).
-
+*ETERM*::
+The context specified was terminated.
SEE ALSO
--------
diff --git a/doc/zmq_term.txt b/doc/zmq_term.txt
index 2edc765..d3914db 100644
--- a/doc/zmq_term.txt
+++ b/doc/zmq_term.txt
@@ -47,6 +47,8 @@ ERRORS
------
*EFAULT*::
The provided 'context' was not valid (NULL).
+*EINTR*::
+Termination was interrupted by a signal. It can be restarted if needed.
SEE ALSO