[zeromq-dev] removing poller from zloop

Pieter Hintjens ph at imatix.com
Sun Mar 23 21:33:47 CET 2014

Normally they won't get delivered to your handler after removing the poller.

Can you make a reproducible test case and then debug what's happening
in zloop, yourself?

On Sun, Mar 23, 2014 at 7:47 PM, Mohit Jaggi <mohitjaggi at gmail.com> wrote:
> Hi Folks,
> I am wondering if removing a poller from a zloop works "instantaneously". I
> suspect I am getting a message on frontend after calling (using JZMQ
> binding)
> loop.removePoller(new PollItem(frontend, 0));
> Is it possible that some messages are in frontend queue when I remove it
> from loop and they get "delivered" to my handler later? My code is based on
> the load balancing pattern in Zguide which assumes that this never happens.
> Mohit.
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev

More information about the zeromq-dev mailing list