0
0
mirror of https://github.com/zeromq/libzmq.git synced 2024-12-26 23:01:04 +08:00

Merge pull request #3298 from pijyoi/signaler_wait1

Problem: using FD_SETSIZE for optimized_fd_set_t is a pessimization
This commit is contained in:
Luca Boccassi 2018-11-07 08:35:04 +00:00 committed by GitHub
commit a59c010e33
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -266,7 +266,7 @@ int zmq::signaler_t::wait (int timeout_)
#elif defined ZMQ_POLL_BASED_ON_SELECT
optimized_fd_set_t fds (FD_SETSIZE);
optimized_fd_set_t fds (1);
FD_ZERO (fds.get ());
FD_SET (_r, fds.get ());
struct timeval timeout;