mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-25 18:23:01 +02:00
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:
@@ -75,7 +75,7 @@ void zmq::io_thread_t::in_event ()
|
||||
if (rc != 0 && errno == EINTR)
|
||||
continue;
|
||||
if (rc != 0 && errno == EAGAIN)
|
||||
break;
|
||||
break;
|
||||
errno_assert (rc == 0);
|
||||
|
||||
// Process the command.
|
||||
|
||||
Reference in New Issue
Block a user