diff options
author | Martin Sustrik <sustrik@250bpm.com> | 2011-02-09 15:32:15 +0100 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2011-02-09 15:32:15 +0100 |
commit | 80ac398bba928fa7f245d2e107071677a13185cf (patch) | |
tree | 57c51a7adb5f4cb1a91396fe0b223538a4d428d7 /src/io_thread.cpp | |
parent | 889424e675eecd9d9c7d1121456401d5c43029a5 (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 'src/io_thread.cpp')
-rw-r--r-- | src/io_thread.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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. |