Skip to main content

abort_pending_tasks

Function abort_pending_tasks 

Source
pub fn abort_pending_tasks(pending_tasks: &Mutex<Vec<JoinHandle<()>>>)
Expand description

Aborts all pending tasks tracked in the mutex.

ยงPanics

Panics if the pending_tasks mutex is poisoned.