Skip to main content

set_graceful_mode

Function set_graceful_mode 

Source
pub fn set_graceful_mode()
Expand description

Enter cooperative shutdown mode. Subsequent signals set SHUTDOWN without killing children or calling exit(). The caller is responsible for polling is_shutting_down() and exiting cleanly.