• Martin Lucina's avatar
    zmq_poll(): Fix some corner cases · ee1f1af0
    Martin Lucina authored
    Trying to optimize out the case where items_[i]. events is 0 would
    result in a bogus pollfds[i]. Similarly in the select()-based impl,
    while not strictly necessary it's better to get ZMQ_FD even if
    events is 0 since that detects ETERM and friends.
    ee1f1af0
zmq.cpp 18.7 KB