From owner-freebsd-arch Tue May 16 20: 2:20 2000 Delivered-To: freebsd-arch@freebsd.org Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by hub.freebsd.org (Postfix) with ESMTP id 1322437B68A for ; Tue, 16 May 2000 20:02:17 -0700 (PDT) (envelope-from bde@zeta.org.au) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.8.7/8.8.7) with ESMTP id NAA18079; Wed, 17 May 2000 13:01:46 +1000 Date: Wed, 17 May 2000 13:01:44 +1000 (EST) From: Bruce Evans X-Sender: bde@besplex.bde.org To: Chuck Paterson Cc: "Jeroen C. van Gelderen" , Doug Rabson , arch@FreeBSD.ORG Subject: Re: A new api for asynchronous task execution (2) In-Reply-To: <200005162118.PAA14892@berserker.bsdi.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 . Perhaps "task" should be abbreviated as "t" or "T" in more places. The names should be a little more like those in , 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