1 unstable release

Uses old Rust 2015

0.1.0 Nov 27, 2018

#768 in Operating systems

MIT license

3KB

Term Handler

Handles waiting for a termination or interrupt signal with a loop. The loop will exit once the SIGTERM/SIGINT is sent (usually via Ctrl-C).

Usage:

    print!("Waiting for TERM signal");
    wait_for_term();
    print!("Term signal received, quitting!");

Dependencies

~60KB