Subject: Re: question on device detachment
To: Manuel Bouyer <>
From: Ferry Sutanto <>
List: tech-kern
Date: 10/22/2001 13:55:51
> read kthread(9)
> Basically the thread will have to enter an infinite
> loop, calling tsleep()
> when it has nothing to do. Callers will wake up the
> thread with wakeup().
> An example is in sys/dev/scsipi/scsipi_base.c

Does anybody know why the kernel keep crashing
whenever I issued command "ps -awwx" ? I called
kthread_create to create the kernel thread, and I have
tsleep for the thread handler. I must have been
missing something.


Do You Yahoo!?
Make a great connection at Yahoo! Personals.