Date: Wed, 4 Sep 2002 09:27:11 -0700 From: Alfred Perlstein <bright@mu.org> To: Julian Elischer <julian@elischer.org> Cc: Bruce Evans <bde@zeta.org.au>, John Baldwin <jhb@FreeBSD.ORG>, arch@FreeBSD.ORG Subject: Re: Process/thread states. Message-ID: <20020904162711.GO73747@elvis.mu.org> In-Reply-To: <Pine.BSF.4.21.0209040917030.31339-100000@InterJet.elischer.org> References: <20020904194643.H914-100000@gamplex.bde.org> <Pine.BSF.4.21.0209040917030.31339-100000@InterJet.elischer.org>
next in thread | previous in thread | raw e-mail | index | archive | help
* Julian Elischer <julian@elischer.org> [020904 09:20] wrote: > > > On Wed, 4 Sep 2002, Bruce Evans wrote: > > > > > I'd rather see (td->td_state == TDS_RUNNING). Only very lay readers don't > > want to know anything about the details hidden by the macro. > > Assembler would be the ultimate in that direction.. I have to agree with Julian on this one, it's really annoying when we have bugs just because someone forgot that not only is foo->flags == SOMETHING, but that foo->enum is SOMETHINGELSE. Since the macros will be pretty simple for the most part and the compiler is somewhat smart about constant folding let's do it the way that Julian suggested. -- -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020904162711.GO73747>