On 20 August 2010 00:19, Daniel Stenberg <[email protected]> wrote: > On Thu, 19 Aug 2010, Paul Harris wrote: > > Could you satisfy my curiousity: What is the reason for using >> milliseconds, when everything else seems to use microseconds? >> > > Everything else, really? In my recollection POSIX has functions with > nanoseconds (like nanosleep()), microseconds (like select()), milliseconds > (like poll()) and seconds (like sleep()) for various timeouts. > > I guess I was thinking of select() in particular
> In libcurl we use milliseconds quite consistently I believe for sub second > resolution in the API. > > I picked milliseconds back in the days since I think it makes sense to > provide sub second resolution. I don't think any application so far has > shown a need for sub millisecond resolution. > > i think its a good resolution level too thanks, Paul
------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html
