From: Junio C Hamano Date: Wed, 10 Sep 2014 21:08:28 GMT Subject: Re: [PATCH 8/9] autoconf: Check for timer_settime Message-ID: In-Reply-To: <54106F34.90505@gmail.com> Karsten Blees writes: > While the timer extension (timer_settime) has graduated to mandatory in > the current POSIX spec, the monotonic clock extension is still optional > today (i.e. not necessarily supported even on newer Unices). In contrast > to this, the XSI extensions seem to be widely supported. > > IMO the 'obsolescent' marker in the current POSIX spec is no reason to > spring into action (at least not yet). E.g. utimes (also in ) > has been marked LEGACY in the 2004 version and is no longer LEGACY today. > Btw., we'd also have to find a replacement for gettimeofday and probably > a lot of other stuff... > > Therefore I tend to agree with Hannes that we should stick with setitimer > and emulate it on systems that don't have it (as we do on Windows). Sounds sensible to me.