start_timeout_thread

Function start_timeout_thread 

Source
pub fn start_timeout_thread(timeout_seconds: u64) -> Arc<AtomicBool>
Expand description

Starts a timeout thread that will terminate the process if the timeout is reached. Returns a handle to the timeout thread that can be used to stop it.