>I have two puzzles:
>
>i) how to send signals to kernal threads and how kernal threads to shield  
>some special signals.

Kernel threads cannot receive signals (signals are a userland concept).

>ii) how to kill kernal thread which create by thread_create
>
>Maybe  I can make the kernal thread's state to  "TS_ZOMB".


A kernel thread will need to kill itself.  You will have to implement
this in a cooperative fashion.

Casper

_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to