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:
commit
a59c010e33
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user