why you want to kill kernel threads? Mostly kernel threads are work threads pool which are for dealing some special task queue.But if you must want to kill one kernel threads, you can define a condition variable and can trigger it and let the kernel thread exit by itself.
BTW:Actually in Linux you also can not kill a kernel threads(should be named kernel process). >From: liujun <[EMAIL PROTECTED]> >To: [email protected] >Subject: Re: [osol-code] how to kill kernal thread which createby thread_create >Date: Mon, 09 Jul 2007 01:33:13 PDT > >I know what I will do now. Thanks Casper. >There are some differeces between Linux kernal thread and Solaris's in that point. > > >This message posted from opensolaris.org >_______________________________________________ >opensolaris-code mailing list >[email protected] >http://mail.opensolaris.org/mailman/listinfo/opensolaris-code _________________________________________________________________ 与联机的朋友进行交流,请使用 MSN Messenger: http://messenger.msn.com/cn _______________________________________________ opensolaris-code mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/opensolaris-code
