diff options
author | Martin Lucina <mato@kotelna.sk> | 2010-08-07 20:35:42 +0200 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2010-08-25 15:39:20 +0200 |
commit | a85d1e51bff991a0d2f93ded2724e0ee290edf12 (patch) | |
tree | f224d1bedf1fcdc2de025449feb8c93203592b27 /src/zmq_encoder.cpp | |
parent | 6b1ca2cb1e0adc9f28aae8d322b0832a3b174a04 (diff) |
zmq_poll(): Rewrite to use ZMQ_FD/ZMQ_EVENTS pt2
Rewrite the select()-based zmq_poll() implementation to use
ZMQ_FD and ZMQ_EVENTS.
Also fix some corner cases: We should not pollute revents with
unrequested events, and we don't need to poll on ZMQ_FD at all
if a pollitem with no events set was passed in.
Diffstat (limited to 'src/zmq_encoder.cpp')
0 files changed, 0 insertions, 0 deletions