From 80ac398bba928fa7f245d2e107071677a13185cf Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Wed, 9 Feb 2011 15:32:15 +0100 Subject: 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 --- doc/zmq_socket.txt | 3 ++- doc/zmq_term.txt | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'doc') 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 -- cgit v1.2.3