From owner-freebsd-arch Wed Sep 4 14:40:33 2002 Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4668B37B401; Wed, 4 Sep 2002 14:40:27 -0700 (PDT) Received: from rwcrmhc52.attbi.com (rwcrmhc52.attbi.com [216.148.227.88]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8834C43E42; Wed, 4 Sep 2002 14:40:26 -0700 (PDT) (envelope-from julian@elischer.org) Received: from InterJet.elischer.org ([12.232.206.8]) by rwcrmhc52.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020904214026.BHQE19514.rwcrmhc52.attbi.com@InterJet.elischer.org>; Wed, 4 Sep 2002 21:40:26 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id OAA32816; Wed, 4 Sep 2002 14:36:54 -0700 (PDT) Date: Wed, 4 Sep 2002 14:36:53 -0700 (PDT) From: Julian Elischer To: Alfred Perlstein Cc: John Baldwin , arch@FreeBSD.ORG, Bruce Evans Subject: Re: Process/thread states. In-Reply-To: <20020904170322.GQ73747@elvis.mu.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, 4 Sep 2002, Alfred Perlstein wrote: > * John Baldwin [020904 09:53] wrote: > > > > OK. I GUESS NOW I NEED TO TURN ON MY CAPS LOCK AND USE MACROS EVERYTIME > > I WANT TO CHECK A VARIABLE. John, are you objecting to the use of Macros or the use of caps? > > This is an invalid argument, there's no absolute need for them to > be capitalized, especially if they are made into inlines. Well, it's suggested in style(9).. --------------- The names of ``unsafe'' macros (ones that have side effects), and the names of macros for manifest constants, are all in uppercase. --------------- does that cover here? Is it a side-effect of TD_SET_RUNQ if it sets the "on runq" state? or is this juat the primary effect, in which case it is NOT required to be caps. (by my reading). > > thanks, > -- > -Alfred Perlstein [alfred@freebsd.org] [#bsdcode/efnet/irc.prison.net] > '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-arch" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message