Same as zmq_poll which I think is level. Anyway, I encounter another problem (reading the event from pollfd after each polling iteration), so I either return the pollfd to the pollitem structure or create a new version of zmq_poll (zmq_pollfd_poll?) which accept the pollfd as first parameter. So anyone want to poll on thread safe sockets have to use the new version.
What do you think, zmq_pollfd_poll vs new pollfd field in pollitem? I think the new method because it doesn't change the current API. On Mon, Aug 17, 2015 at 2:44 PM, KIU Shueng Chuan <[email protected]> wrote: > Is this new pollfd level triggered or edge triggered? > > _______________________________________________ > zeromq-dev mailing list > [email protected] > http://lists.zeromq.org/mailman/listinfo/zeromq-dev > >
_______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
