[zeromq-dev] zmq_poll stops expiring timeout in virtualized Windows 7

Steven McCoy steven.mccoy at miru.hk
Wed Oct 16 17:47:06 CEST 2013

On 16 October 2013 10:25, Laurent Alebarde <l.alebarde at free.fr> wrote:

>  A simplier approach is to encapsulate the standard clock of your choice
> and save in a static member the value of the last get. Then if the standard
> clock goes back in time, you return the saved value + 1.

For clock drift this is fine, one doesn't even have to bother with the
increment for many cases.  However there can be major problems with NTP,
daylight savings, and suspend/hibernation states.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20131016/43cb169b/attachment.htm>

More information about the zeromq-dev mailing list