// src/signal.rs
use ;
use ;
use Arc;
/// Sets up a handler for Ctrl+C (SIGINT).
/// Returns an Arc<AtomicBool> that will be set to true when the signal is caught.
// Note: Testing signal handlers directly is complex and often skipped
// or handled via integration tests that send signals to the process.