spawn_deadlock_detection

Function spawn_deadlock_detection 

Source
pub fn spawn_deadlock_detection()
Expand description

When compiled with "deadlock_detection" spawns a thread that monitors for parking_lot deadlocks.

Note that this method is already called on app scope spawn. You can call it before zng::env::init! to detect deadlocks in other processes too.