[zeromq-dev] adding timeout in zmq_poll

Pavel Gushcha pavimus at gmail.com
Tue Jan 5 09:30:45 CET 2010

2010/1/4 Martin Sustrik <sustrik at 250bpm.com>:
> Hi Pavel,
>> Martin, please review patch and commit it to trunk (under required MIT
>> license) if there no warnings.
> I've reviewed the patch and made following changes:
> 1. I've removed the common lisp patch - let's rely on Vitaly to fix it in a
> clean way.
> 2. I've modified the code in zmq.cpp to make it more readable. The logic
> should be the same (I hope).
> 3. In C++ binding I've added a default for the timeout parameter (-1) so
> that existing C++ code requires no modifications.
> The patch is commited to 0MQ/2.0 trunk. Please, check if everything works as
> expected.

Yes, it works, Thanks!

> Thanks for the patch!
> Martin

More information about the zeromq-dev mailing list