Unverified Commit a59c010e authored by Luca Boccassi's avatar Luca Boccassi Committed by GitHub

Merge pull request #3298 from pijyoi/signaler_wait1

Problem: using FD_SETSIZE for optimized_fd_set_t is a pessimization
parents 63abe833 9a15fe7f
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment