Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Dec 2000 10:46:57 -0800 (PST)
From:      John Baldwin <jhb@FreeBSD.ORG>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        arch@FreeBSD.ORG
Subject:   Re: kthread API
Message-ID:  <XFMail.001216104657.jhb@FreeBSD.org>
In-Reply-To: <Pine.BSF.4.21.0012170349020.7753-100000@besplex.bde.org>

next in thread | previous in thread | raw e-mail | index | archive | help

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 <jhb@FreeBSD.org> -- 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.001216104657.jhb>