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

Felipe Farinon felipe.farinon at powersyslab.com
Thu Oct 24 20:19:37 CEST 2013


Unfortunately, GetTickCount64 is only supported on Windows Vista or greater.

Em 21/10/2013 16:47, Felipe Farinon escreveu:
> GetTickCount64 would solve these problems, since it returns the 
> numbers of millisenconds since the machine has started.
>
> Em 16/10/2013 12:47, Steven McCoy escreveu:
>> On 16 October 2013 10:25, Laurent Alebarde <l.alebarde at free.fr 
>> <mailto: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.
>>
>> -- 
>> Steve-o
>>
>>
>> _______________________________________________
>> zeromq-dev mailing list
>> zeromq-dev at lists.zeromq.org
>> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
>
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20131024/5effb8d4/attachment.htm>


More information about the zeromq-dev mailing list