Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 May 2000 13:01:44 +1000 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        Chuck Paterson <cp@bsdi.com>
Cc:        "Jeroen C. van Gelderen" <jeroen@vangelderen.org>, Doug Rabson <dfr@nlsystems.com>, arch@FreeBSD.ORG
Subject:   Re: A new api for asynchronous task execution (2) 
Message-ID:  <Pine.BSF.4.21.0005171232460.5385-100000@besplex.bde.org>
In-Reply-To: <200005162118.PAA14892@berserker.bsdi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 16 May 2000, Chuck Paterson wrote:

> Just an FYI, the TQ_DEF probably came from the flag passed
> into the BSD/OS mutex macros which is M_DEF. These are short
> because the macros often get used when there is sever
> indenting and it is much easer to read when they don't cause
> a line split. Also they are used ALL over the place and after
> looking at the code for a few minutes there is never any doubt
> what they stand for.

Similarly for many of the other names.  "queue" should usually be
abbreviated as "q" or "Q", as in <sys/queue.h>.  Perhaps "task"
should be abbreviated as "t" or "T" in more places.  The names
should be a little more like those in <sys/queue.h>, e.g.,
taskq_add instead of taskqueue_enqueue and taskq_remove instead
of taskqueue_free.

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?Pine.BSF.4.21.0005171232460.5385-100000>