Date: Thu, 5 Sep 2002 04:30:02 +1000 (EST) From: Bruce Evans <bde@zeta.org.au> To: Julian Elischer <julian@elischer.org> Cc: John Baldwin <jhb@FreeBSD.ORG>, <arch@FreeBSD.ORG>, Alfred Perlstein <bright@mu.org> Subject: Re: Process/thread states. Message-ID: <20020905041751.F2483-100000@gamplex.bde.org> In-Reply-To: <Pine.BSF.4.21.0209040918120.31339-100000@InterJet.elischer.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 4 Sep 2002, Julian Elischer 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. > > The reason I consider using Macros to test and set these states is that > several people suggested it as a way to abstract away the possible > complications of the states. I'm kind of curious that almost no-one > seems to have comments on this consider it's what I would consider to be > prime arguing material. > > apparently no-one cares any more.. Macros are easier to write and maintain but harder to read and debug. Especially the maintain and debug parts. Bruce 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?20020905041751.F2483-100000>