Implement SIGTERM handling. When a SIGTERM is received by a VKERNEL, it
commitbb195a01007375ab0f38e55c7ba817c18ab6070a
authorMatthew Dillon <dillon@dragonflybsd.org>
Sun, 17 Jun 2007 16:46:17 +0000 (17 16:46 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Sun, 17 Jun 2007 16:46:17 +0000 (17 16:46 +0000)
tree78e14f7eed55572f112f3e53c1f9907ead5e6977
parentd79bd5e9205404e21df2ec596658c8dc4690a2e7
Implement SIGTERM handling.  When a SIGTERM is received by a VKERNEL, it
will automatically shutdown.

A little shutdown kernel thread is created to handle the shutdown, since
an operation at that level of significance requires a real thread context
as a base of operations.

Submitted-by: Chris Turner <c.turner@199technologies.org>
share/man/man7/vkernel.7
sys/platform/vkernel/i386/exception.c
sys/platform/vkernel/include/globaldata.h
sys/platform/vkernel/platform/kqueue.c