When we reboot a machine, it seems to me that the kernel sends signal 15
to daemons and wait 60 seconds for them to finish. In my program, I use
kthread_create() to create a daemon, how to make sure that my daemon
finishes all its job before reboot can proceed?  Do I need to let the
daemon catch the signals?  I tried kill -9 (or -15) pid, the daemon does
not seem to respond.

Thanks,

-Zhihui



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to