2010/11/16 Martin Sustrik <[email protected]>:
> If someone actually tests that setting FD_SETSIZE to 1024 in 0MQ MSVC
> project doesn't break client applications with different FD_SETSIZE
> values (say default 64), I'll apply the change straight away.
I think it's not good idea. Maybe I don't undestand code correctly,
but this part:
// Store the file descriptor.
fd_entry_t entry = {fd_, events_};
fds.push_back (entry);
// Ensure we do not attempt to select () on more than FD_SETSIZE
// file descriptors.
zmq_assert (fds.size () <= FD_SETSIZE);
push into fds descriptors, but where is pop? If FD_SETSIZE = 1024,
application fail on 1024 cycle, right?
--
С уважением,
Олег Севостьянов
JabberID: [email protected]
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev