• Marc Sune's avatar
    Problem: duplicated socket_poller::wait() code · 5b929895
    Marc Sune authored
    zmq::socket_poller_t::wait() had an important set of common lines
    between POLL and SELECT variant.
    
    Solution: refactor zmq::socket_poller_t::wait() and add the
    following methods:
    
    zmq::socket_poller_t::zero_trail_events()
    zmq::socket_poller_t::check_events()
    zmq::socket_poller_t::adjust_timeout()
    Signed-off-by: 's avatarMarc Sune <mardevel@gmail.com>
    5b929895
socket_poller.cpp 20 KB