[zeromq-dev] bug in manual page zmq_poll

Luca Boccassi luca.boccassi at gmail.com
Mon May 22 11:53:30 CEST 2017


On Mon, 2017-05-22 at 07:40 +0200, Erik Thiele wrote:
> hi
> 
> 
> the manual page sais:
> http://api.zeromq.org/2-1:zmq-poll
> 
> If none of the requested events have occurred on any zmq_pollitem_t
> item, zmq_poll() shall wait timeout microseconds for an event to
> occur
> on any of the requested items. If the value of timeout is 0,
> zmq_poll()
> shall return immediately. If the value of timeout is -1, zmq_poll()
> shall block indefinitely until a requested event has occurred on at
> least one zmq_pollitem_t. The resolution of timeout is 1 millisecond.
> 
> first it sais "microseconds" and at the end it sais "millisecond".
> first i used microseconds and wondered why the timeout does not
> happen.
> then i switched to milliseconds and it worked as expected.
> 
> probably you should correct "microseconds" to "millisecond"
> 
> 
> thank you
> erik

Hi,

Could you please send a pull request to fix it?

Kind regards,
Luca Boccassi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20170522/aa1ed027/attachment.sig>


More information about the zeromq-dev mailing list