From owner-freebsd-standards@FreeBSD.ORG Tue Feb 3 08:29:13 2004 Return-Path: Delivered-To: freebsd-standards@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 26C8E16A4CE for ; Tue, 3 Feb 2004 08:29:13 -0800 (PST) Received: from sccrmhc11.comcast.net (sccrmhc11.comcast.net [204.127.202.55]) by mx1.FreeBSD.org (Postfix) with ESMTP id E0E9343D1D for ; Tue, 3 Feb 2004 08:29:11 -0800 (PST) (envelope-from rodrigc@crodrigues.org) Received: from h00609772adf0.ne.client2.attbi.com ([66.31.45.197]) by comcast.net (sccrmhc11) with ESMTP id <2004020316291001100ljpare>; Tue, 3 Feb 2004 16:29:10 +0000 Received: from h00609772adf0.ne.client2.attbi.com (localhost.crodrigues.org [127.0.0.1])i13GT9hd001173; Tue, 3 Feb 2004 11:29:09 -0500 (EST) (envelope-from rodrigc@h00609772adf0.ne.client2.attbi.com) Received: (from rodrigc@localhost)i13GT9NH001172; Tue, 3 Feb 2004 11:29:09 -0500 (EST) (envelope-from rodrigc) Date: Tue, 3 Feb 2004 11:29:08 -0500 From: Craig Rodrigues To: Daniel Eischen Message-ID: <20040203162908.GA1122@crodrigues.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i cc: standards@freebsd.org Subject: Re: semaphore/timespec question X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Feb 2004 16:29:13 -0000 On Tue, Feb 03, 2004 at 11:11:09AM -0500, Daniel Eischen wrote: > (and also <_semaphore.h>) now need struct timespec to be > defined. What's the preferred way to do this? Add a "struct timespec;" > to <_semaphore.h> or ? According to: http://www.opengroup.org/onlinepubs/007904975/functions/sem_timedwait.html "The timespec data type is defined as a structure in the header." It would seem to me that adding "struct timespec;" would be OK, but I defer to one of the standards gurus to interpret this. The <_semaphore.h> header seems to only have stuff for the ksem_* functions. Are you adding stuff in there which uses struct timespec? -- Craig Rodrigues http://crodrigues.org rodrigc@crodrigues.org