[zeromq-dev] exception from recv()
ian.barber at gmail.com
Thu Sep 27 19:21:18 CEST 2012
On Thu, Sep 27, 2012 at 4:11 PM, Tom Wilberding <tom at wilberding.com> wrote:
> Thanks Ian but my reading of zmq.hpp and the release notes is that it is
> throwing if it isn't EGAIN (not EINTR). I looked at the java bindings
> they have similar logic.
Ah yes, you're right, sorry, careless reading.
> I should also point out that I have no idea what is the root cause of
> the interrupted system call. It can run for hours without it occurring,
> but I've found a few ways to induce it to happen, so if anyone has some
> debugging tips, I'd appreciate the help. I'm not sending SIGINT/^C to my
> app, there is something else going on. Is receiving EINTR during a
> zmq_recv() for anything other than a SIGINT/^C something that others are
> familiar with?
Do vaguely recall Andrew Hume having an issue of a similar nature -
might be worth searching the list archives.
More information about the zeromq-dev