Commit a85d1e51 authored by Martin Lucina's avatar Martin Lucina Committed by Martin Sustrik

zmq_poll(): Rewrite to use ZMQ_FD/ZMQ_EVENTS pt2

Rewrite the select()-based zmq_poll() implementation to use
ZMQ_FD and ZMQ_EVENTS.

Also fix some corner cases: We should not pollute revents with
unrequested events, and we don't need to poll on ZMQ_FD at all
if a pollitem with no events set was passed in.
parent 6b1ca2cb
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment