diff options
author | Fabien Ninoles <fabien@tzone.org> | 2011-06-17 12:22:02 +0200 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2011-06-17 12:22:02 +0200 |
commit | d7923f08cab62ef40027a92f596ff45428870838 (patch) | |
tree | 370ad14bc9d1ebbc14f9d5f8077f81e28e301f5f /src/reaper.cpp | |
parent | 65d2b70312efb148814b58d9cd38cc7069b53a3b (diff) |
Add sockopt ZMQ_RCVTIMEO/ZMQ_SNDTIMEO.
- Add doc and tests
- Add options and setup
- Wait using poll/select
Signed-off-by: Fabien Ninoles <fabien@tzone.org>
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'src/reaper.cpp')
-rw-r--r-- | src/reaper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/reaper.cpp b/src/reaper.cpp index 0295137..4c67b37 100644 --- a/src/reaper.cpp +++ b/src/reaper.cpp @@ -61,7 +61,7 @@ void zmq::reaper_t::in_event () // Get the next command. If there is none, exit. command_t cmd; - int rc = mailbox.recv (&cmd, false); + int rc = mailbox.recv (&cmd, 0); if (rc != 0 && errno == EINTR) continue; if (rc != 0 && errno == EAGAIN) |