/// Default maximum graceful drain window in milliseconds (30 seconds).
pub const DEFAULT_SHUTDOWN_DRAIN_TIMEOUT_MS: u64 = 30_000;
/// Default per-callback shutdown hook timeout in milliseconds (5 seconds).
pub const DEFAULT_SHUTDOWN_CALLBACK_TIMEOUT_MS: u64 = 5_000;
/// High bit of the packed atomic state word indicating shutdown has been triggered.
pub const SHUTDOWN_BIT: usize = 1usize << ;
/// Mask extracting the active in-flight guard count from the packed atomic state word.
pub const IN_FLIGHT_MASK: usize = !SHUTDOWN_BIT;