Skip to main content

narrate_deadlock

Function narrate_deadlock 

Source
pub fn narrate_deadlock(snap: &SchedSnapshot) -> String
Expand description

Narrate a deadlock as English prose: the cooperative deterministic runtime has PERFECT information, so the explanation is a proof, not a heuristic — who waits, on what, and how full each channel is. Fed the snapshot taken when the scheduler proved the deadlock.