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 --- src/io_thread.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/io_thread.cpp') diff --git a/src/io_thread.cpp b/src/io_thread.cpp index 7ba8905..ca768f5 100644 --- a/src/io_thread.cpp +++ b/src/io_thread.cpp @@ -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. -- cgit v1.2.3