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>
This commit is contained in:
Martin Sustrik
2011-02-09 15:32:15 +01:00
parent 889424e675
commit 80ac398bba
14 changed files with 394 additions and 130 deletions

View File

@@ -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
--------