[zeromq-dev] timeout value in zeromq poll
Min
miniway at gmail.com
Sat Dec 22 05:55:58 CET 2012
In a old version, the unit might be nano second.
You should multiply ZMQ_POLL_MSEC to make version compatible poll.
Probably, there is comment about this on the guide.
Thanks
Min
2012년 12월 22일 토요일에 Stefan de Konink님이 작성:
> 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
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org <javascript:;>
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20121222/84aa88bc/attachment.htm>
More information about the zeromq-dev
mailing list