Date: Sat, 15 Apr 2006 02:58:14 +0100 (BST) From: Robert Watson <rwatson@FreeBSD.org> To: John Birrell <jb@FreeBSD.org> Cc: Perforce Change Reviews <perforce@freebsd.org> Subject: Re: PERFORCE change 95285 for review Message-ID: <20060415025409.K27251@fledge.watson.org> In-Reply-To: <200604142240.k3EMe0kp076659@repoman.freebsd.org> References: <200604142240.k3EMe0kp076659@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 14 Apr 2006, John Birrell wrote: > http://perforce.freebsd.org/chv.cgi?CH=95285 > > Change 95285 by jb@jb_freebsd2 on 2006/04/14 22:39:13 > > The newest CLOCK_ defines in sys/time.h are supposed to be in time.h > too, otherwise they can't be accessed in an code which happens to > include time.h first. Hmm. Indeed. And it looks like SUSv3 thinks so too. Could you merge this to CVS when you get a chance? Thanks, Robert N M Watson > > Affected files ... > > .. //depot/projects/dtrace/src/include/time.h#2 edit > > Differences ... > > ==== //depot/projects/dtrace/src/include/time.h#2 (text+ko) ==== > > @@ -100,6 +100,14 @@ > #define CLOCK_PROF 2 > #endif > #define CLOCK_MONOTONIC 4 > +#define CLOCK_UPTIME 5 /* FreeBSD-specific. */ > +#define CLOCK_UPTIME_PRECISE 7 /* FreeBSD-specific. */ > +#define CLOCK_UPTIME_FAST 8 /* FreeBSD-specific. */ > +#define CLOCK_REALTIME_PRECISE 9 /* FreeBSD-specific. */ > +#define CLOCK_REALTIME_FAST 10 /* FreeBSD-specific. */ > +#define CLOCK_MONOTONIC_PRECISE 11 /* FreeBSD-specific. */ > +#define CLOCK_MONOTONIC_FAST 12 /* FreeBSD-specific. */ > +#define CLOCK_SECOND 13 /* FreeBSD-specific. */ > #endif /* !defined(CLOCK_REALTIME) && __POSIX_VISIBLE >= 200112 */ > > #if !defined(TIMER_ABSTIME) && __POSIX_VISIBLE >= 200112 >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060415025409.K27251>