Skip to main content

Module config

Module config 

Source
Expand description

Configuration and runtime options

This module handles signal handling and thread mode validation.

Constants§

EXIT_CODE_INTERRUPTED
Exit code for interrupted operations (128 + SIGINT = 130)

Functions§

is_interrupted
Check if the process was interrupted.
setup_signal_handler
Set up the Ctrl-C signal handler.
validate_thread_mode
Validate the thread mode and emit warnings if necessary.