Micah Cowan <[EMAIL PROTECTED]> writes: > Hrvoje Niksic wrote: >> I agree that clock_getres itself isn't important. Still, Wget needs >> to choose a clock that actually works out of several possible clocks >> allowed by POSIX (and common extensions), so it's advisable to at >> least attempt to use the clock in some way. If clock_getres is known >> to fail on some platforms, then we should use clock_gettime instead. > > Instead? The only time we ever use clock_getres, AFAICT, is when > clock_gettime
I referred to the use of clock_getres in posix_init, where it's used to figure out which clock id to use as posix_clock_id. We could use clock_gettime there and completely remove the usage of clock_getres.
