Module jupiter::signals

source ·
Expand description

Installs a signal handler which terminates the platform in CTRL+C or SIGHUP.

Forks an async task which waits for either CTRL+C or SIGHUP and then invokes Platform::terminate on the given platform.

Functions

  • Installs a signal handler for the given platform which awaits either a CTRL+C or SIGHUP.