[zeromq-dev] zmq_poll versus zloop reactor: different semantics - how to resolve?
ph at imatix.com
Mon Sep 24 21:41:41 CEST 2012
On Mon, Sep 24, 2012 at 2:00 PM, Michael Haberler <mail17 at mah.priv.at> wrote:
> I have an application where a named pipe, and a sysfs device is monitored. I did the prototype with libzmq - which worked fine - and the switched to czmq, which broke things for me.
> the issue is: czmq is too agresssive in shutting down a poll handler if a POLLERR is returned.
> I dont like it, but am unsure what to do; fiddling with the inner loop of the reactor I dont feel confident about yet.
It's a little involved but not so complex so my advice would be to
look at the internals, propose a patch.
You do want to provide a test case so people can see the before/after results.
More information about the zeromq-dev