mirror of
https://github.com/zeromq/libzmq.git
synced 2025-09-21 13:29:34 +02:00
Problem: out-of-date TODO in zmq_poll
Solution: remove it
This commit is contained in:
parent
ab1607f813
commit
25ded9e897
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user