From owner-freebsd-current@FreeBSD.ORG Wed Jul 21 12:12:22 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8FCAD16A4D0 for ; Wed, 21 Jul 2004 12:12:22 +0000 (GMT) Received: from mail.FreeBSD.org.cn (dns3.freebsd.org.cn [61.129.66.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3D94F43D39 for ; Wed, 21 Jul 2004 12:12:21 +0000 (GMT) (envelope-from delphij@frontfree.net) Received: (qmail 90540 invoked by uid 0); 21 Jul 2004 12:10:27 -0000 Received: from unknown (HELO beastie.frontfree.net) (219.239.98.7) by mail.FreeBSD.org.cn with AES256-SHA encrypted SMTP; 21 Jul 2004 12:10:27 -0000 Received: from localhost (localhost.frontfree.net [127.0.0.1]) by beastie.frontfree.net (Postfix) with ESMTP id 82A8511CA9; Wed, 21 Jul 2004 20:12:18 +0800 (CST) Received: from beastie.frontfree.net ([127.0.0.1]) by localhost (beastie.frontfree.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 00982-07; Wed, 21 Jul 2004 20:12:07 +0800 (CST) Received: by beastie.frontfree.net (Postfix, from userid 1001) id 3AB3011C28; Wed, 21 Jul 2004 20:12:07 +0800 (CST) Date: Wed, 21 Jul 2004 20:12:06 +0800 From: Xin LI To: Poul-Henning Kamp Message-ID: <20040721121206.GA746@frontfree.net> References: <20040721113211.GA1899@frontfree.net> <82157.1090409805@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="YZ5djTAD1cGYuMQK" Content-Disposition: inline In-Reply-To: <82157.1090409805@critter.freebsd.dk> User-Agent: Mutt/1.4.2.1i X-GPG-key-ID/Fingerprint: 0xCAEEB8C0 / 43B8 B703 B8DD 0231 B333 DC28 39FB 93A0 CAEE B8C0 X-GPG-Public-Key: http://www.delphij.net/delphij.asc X-Operating-System: FreeBSD beastie.frontfree.net 5.2-delphij FreeBSD 5.2-delphij #80: Thu Jun 24 17:30:33 CST 2004 delphij@beastie.frontfree.net:/usr/obj/usr/src/sys/BEASTIE i386 X-URL: http://www.delphij.net X-By: delphij@beastie.frontfree.net X-Location: Beijing, China X-Virus-Scanned: by amavisd-new at frontfree.net cc: freebsd-current@FreeBSD.org Subject: Re: Any idea why timespec* is _KERNEL stuff only? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Jul 2004 12:12:22 -0000 --YZ5djTAD1cGYuMQK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jul 21, 2004 at 01:36:45PM +0200, Poul-Henning Kamp wrote: > >Hi, Poul-Henning, > > > >It seems that rev. 1.23 of sys/sys/time.h has constrained timespec* macr= os > >to be _KERNEL (KERNEL in the old days) only. Is this intended? (NetBSD a= nd > >OpenBSD don't expect _KERNEL for these macros, e.g. timespeccmp, and I > >personally think that these macros will be better for more generic use, > >as timespec structure is not _KERNEL protected :-) >=20 > I agree. I belive I made the _KERNEL only due to pressure from the > standards people or possibly bde@, can't remember to be honest. Oh... Shall I ask for a review for a change of the current behavior, or hav= e my own version of timespec* macros in my program, for compability reasons? Cheers, --=20 Xin LI http://www.delphij.net/ See complete headers for GPG key and other information. --YZ5djTAD1cGYuMQK Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFA/l2WOfuToMruuMARAuIjAJ9EHxmhdQwR0cH78mv65XAD/j+wDQCdEj2G Z+OWreaNxhPYi8rQO/81Tgo= =tme3 -----END PGP SIGNATURE----- --YZ5djTAD1cGYuMQK--