From owner-freebsd-hackers Sun May 20 23:33:10 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from sharmas.dhs.org (cpe-66-1-147-119.ca.sprintbbd.net [66.1.147.119]) by hub.freebsd.org (Postfix) with ESMTP id BE3B337B42C for ; Sun, 20 May 2001 23:33:07 -0700 (PDT) (envelope-from adsharma@sharmas.dhs.org) Received: by sharmas.dhs.org (Postfix, from userid 500) id 6185B5E100; Sun, 20 May 2001 23:28:56 -0700 (PDT) Date: Sun, 20 May 2001 23:28:56 -0700 From: Arun Sharma To: FreeBSD Hackers Subject: Re: _SC_NPROCESSORS_CONF Message-ID: <20010520232856.A29045@sharmas.dhs.org> References: <20010520124211.A10735@sharmas.dhs.org> <15112.12205.953218.814741@grasshopper.cs.duke.edu> <20010520135655.A27231@sharmas.dhs.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.15i In-Reply-To: <20010520135655.A27231@sharmas.dhs.org>; from arun@sharmas.dhs.org on Sun, May 20, 2001 at 01:56:55PM -0700 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, May 20, 2001 at 01:56:55PM -0700, Arun Sharma wrote: > On Sun, May 20, 2001 at 04:57:17PM -0400, Andrew Gallatin wrote: > > > > Arun Sharma writes: > > > Single UNIX spec doesn't include the above sysconf(3) argument, but > > > many UNIX variants do. What's the BSD way of doing this ? > > > > How about the hw.ncpu sysctl? > > Any objections to a patch implementing > sysconf(_SC_NPROCESSORS_CONF) in terms of hw.ncpu ? http://www.freebsd.org/cgi/query-pr.cgi?pr=27489 -Arun To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message