Skip to main content

Module ctrlc_handler

Module ctrlc_handler 

Source
Expand description

Signal handler for graceful termination (e.g., Ctrl-C).

Functions§

init
Initializes the Ctrl-C handler if it hasn’t been initialized already.
register
Registers a cleanup function to be executed when a Ctrl-C signal is received.