Problem: out-of-date TODO in zmq_poll

Solution: remove it
This commit is contained in:
Luca Boccassi 2018-11-04 22:18:54 +00:00 committed by Luca Boccassi
parent ab1607f813
commit 25ded9e897

View File

@ -798,8 +798,6 @@ inline int zmq_poller_poll (zmq_pollitem_t *items_, int nitems_, long timeout_)
int zmq_poll (zmq_pollitem_t *items_, int nitems_, long timeout_)
{
// TODO: the function implementation can just call zmq_pollfd_poll with
// pollfd as NULL, however pollfd is not yet stable.
#if defined ZMQ_HAVE_POLLER
// if poller is present, use that if there is at least 1 thread-safe socket,
// otherwise fall back to the previous implementation as it's faster.