cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: Porting curlx_tvnow

From: Vladimir Grishchenko <vladgri_at_hotmail.com>
Date: Mon, 22 Aug 2011 10:36:55 -0700

> Date: Fri, 19 Aug 2011 23:51:23 +0200
> From: daniel_at_haxx.se
> To: curl-library_at_cool.haxx.se
> Subject: Re: Porting curlx_tvnow
>
>
> libcurl won't use the "wall time" for anything, so just taking a tick counter
> like we do on windows should work perfectly fine.
>
> --
>
> / daniel.haxx.se
> -------------------------------------------------------------------
> List admin: http://cool.haxx.se/list/listinfo/curl-library
> Etiquette: http://curl.haxx.se/mail/etiquette.html

What happens when such a counter wraps? While such a coincidence is unlikely it seems that some timeouts may not work correctly. Is that a valid concern for an application that may stay up for long periods of time?

-Vladimir
                                               

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-08-22