From owner-freebsd-arch Sat Dec 16 10:48:11 2000 From owner-freebsd-arch@FreeBSD.ORG Sat Dec 16 10:48:09 2000 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from pike.osd.bsdi.com (pike.osd.bsdi.com [204.216.28.222]) by hub.freebsd.org (Postfix) with ESMTP id 18F9437B400 for ; Sat, 16 Dec 2000 10:48:05 -0800 (PST) Received: from foo.osd.bsdi.com (root@foo.osd.bsdi.com [204.216.28.137]) by pike.osd.bsdi.com (8.11.1/8.9.3) with ESMTP id eBGIlmE60193; Sat, 16 Dec 2000 10:47:48 -0800 (PST) (envelope-from jhb@foo.osd.bsdi.com) Received: (from jhb@localhost) by foo.osd.bsdi.com (8.11.1/8.11.0) id eBGIkv562533; Sat, 16 Dec 2000 10:46:57 -0800 (PST) (envelope-from jhb) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Sat, 16 Dec 2000 10:46:57 -0800 (PST) Organization: BSD, Inc. From: John Baldwin To: Bruce Evans Subject: Re: kthread API Cc: arch@FreeBSD.ORG Sender: jhb@foo.osd.bsdi.com Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 16-Dec-00 Bruce Evans wrote: > On Thu, 14 Dec 2000, John Baldwin wrote: > >> I'd like to make some of the kernel API's a little more consistent as far as >> in >> their naming. The first one I'd like to tackle is the kthread API. >> Specifically, I'd like to stick the whole API under a kthread_* API. This >> would result in the following: >> >> Old Name New Name >> -------- -------- >> kproc_start kproc_start >> shutdown_kproc kproc_shutdown >> kthread_create kthread_create >> kthread_exit kthread_exit >> resume_kproc kthread_resume >> suspend_kproc kthread_suspend >> kproc_suspend_loop kthread_suspend_check > > "kthread" is a silly abbreviation, like "vmemory" would be for "virtual > memory". It has prior precedent in that it is already used, and that both NetBSD and OpenBSD use kthread_* for their kthread API. > Bruce -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.Baldwin.cx/~john/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message