From owner-freebsd-hackers Tue Jun 11 7:11:45 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from bingnet2.cc.binghamton.edu (bingnet2.cc.binghamton.edu [128.226.1.18]) by hub.freebsd.org (Postfix) with ESMTP id 4C20B37B40A; Tue, 11 Jun 2002 07:11:35 -0700 (PDT) Received: from opal (cs.binghamton.edu [128.226.123.101]) by bingnet2.cc.binghamton.edu (8.11.6/8.11.6) with ESMTP id g5BEBSY27522; Tue, 11 Jun 2002 10:11:28 -0400 (EDT) Date: Tue, 11 Jun 2002 10:11:26 -0400 (EDT) From: Zhihui Zhang X-Sender: zzhang@opal To: John Baldwin Cc: Ferruccio Vitale , freebsd-hackers@freebsd.org Subject: RE: kernel thread In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I asked a very similar question a while ago (within at most two months I think). Try search for subject "kernel daemon cleanup". -Zhihui On Tue, 11 Jun 2002, John Baldwin wrote: > > On 10-Jun-2002 Ferruccio Vitale wrote: > > Hi, > > > > how can I destroy a kernel thread that I previously created? > > Regards, > > You need to signal the kthread (kproc) somehow and have it call > kthread_exit() to commit suicide. > > -- > > John Baldwin <>< http://www.FreeBSD.org/~jhb/ > "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message