[−][src]Function safina_executor::stop_threads
pub fn stop_threads() -> Result<(), ThreadStopTimeout>
Signals all threads to stop. Waits for them all to stop.
If they don't all stop, gives up after 3 seconds and returns ThreadStopTimeout
.