Implement SIGTERM handling. When a SIGTERM is received by a VKERNEL, it
commit230521c27a9a864b6e54af0ec145686334e5b22e
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)
tree8286bebc5ccd35c7545bb377ffaebd8fd06be78b
parenta3284c17cd2c368b51f805743ebae5728594a000
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