[zeromq-dev] Documentation Bug

David Kaplan dave at vyral.net
Sat Dec 10 23:30:48 CET 2011


Hi devs!

I'm loving 0MQ, and if things go as well as i expect, I'll be buying 
each of you a beer or latte (your choice).  In my travels through your 
docs, I noticed a slight bug that is a bit confusing:

On the **zmq_poll() page in the online docs, you say:

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_.

I'm no genius but I think it can't be both in milliseconds and 
microseconds. :D

Small discrepancy though.  0MQ is amazing.  I'd hug every one of you if 
I could, lol.

Cheers!
Dave
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20111210/633dc3a0/attachment.htm>


More information about the zeromq-dev mailing list