Thanks Pieter.

Personnaly, I would prefer "ignore", in order to build zmq_pollitem_t arrays with more ease, when they are built by the application itself, and not hardwritten in the code.

Any objection ?

Le 29/01/2014 20:20, Pieter Hintjens a écrit :
Undefined, by the man page. It should probably assert in such a case.

On Wed, Jan 29, 2014 at 12:07 PM, Laurent Alebarde <l.aleba...@free.fr> wrote:
Hi Devs,

What is the zmq_poll behaviour when the zmq_pollitem_t array contains an
item with a NULL socket ? ignored, undefined, error ?

If it is in src/poll.cpp / "void zmq::poll_t::loop ()" / "for
(pollset_t::size_type i = 0; i != pollset.size (); i++)", it seems there is
no NULL test with a continue.

Cheers,


Laurent

_______________________________________________
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

_______________________________________________
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

_______________________________________________
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to