[zeromq-dev] timeout value in zeromq poll

Stefan de Konink stefan at konink.de
Sat Dec 22 03:14:40 CET 2012


As per manpages;

If none of the requested events have occurred on any zmq_pollitem_t
item, zmq_poll() shall wait timeout milliseconds for an event to occur
on any of the requested items.

One thing for sure: if I enter 60000L the timeout is not 60s. It seems
to be that 60000000L comes closer to that. That sounds more like
microseconds to me (which might be considered overkill).


Is this a documentation bug, or an implementation bug?

Stefan



More information about the zeromq-dev mailing list