From owner-freebsd-current Wed Jun 13 8:55:43 2001 Delivered-To: freebsd-current@freebsd.org Received: from superconductor.rush.net (superconductor.rush.net [208.9.155.8]) by hub.freebsd.org (Postfix) with ESMTP id 6576B37B401; Wed, 13 Jun 2001 08:55:35 -0700 (PDT) (envelope-from bright@superconductor.rush.net) Received: (from bright@localhost) by superconductor.rush.net (8.11.2/8.11.2) id f5DFtWF23965; Wed, 13 Jun 2001 11:55:32 -0400 (EDT) Date: Wed, 13 Jun 2001 11:55:30 -0400 From: Alfred Perlstein To: Garrett Wollman Cc: Ruslan Ermilov , current@FreeBSD.ORG Subject: Re: fts_open() (was: Re: Patch to restore WARNS feature) Message-ID: <20010613115530.Y1832@superconductor.rush.net> References: <20010613153416.B21292@sunbay.com> <200106131516.LAA02178@khavrinen.lcs.mit.edu> <20010613182157.A12432@sunbay.com> <200106131551.LAA02550@khavrinen.lcs.mit.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0us In-Reply-To: <200106131551.LAA02550@khavrinen.lcs.mit.edu>; from wollman@khavrinen.lcs.mit.edu on Wed, Jun 13, 2001 at 11:51:07AM -0400 X-all-your-base: are belong to us. Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * Garrett Wollman [010613 11:51] wrote: > < said: > > > How should we call this function? > > (I'll implement this tomorrow.) > > I was would call it `qsort_with_arg' or something similar. There is a > namespace issue here; reserves very little namespace for > the implementation, so anything we add will have to be hidden from > strictly-compliant applications. If we don't want to make it a public > interface, __qsort would be best (and is probably the choice of least > resistance). Why not do something like the rpc code does? Check if threaded, if so cons up a thread specific key otherwise use a global. -- -Alfred Perlstein [alfred@freebsd.org] Instead of asking why a piece of software is using "1970s technology," start asking why software is ignoring 30 years of accumulated wisdom. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message