In defense of lock poisoning in Rust

It&rsquo;s worth retaining one of multithreaded Rust&rsquo;s most valuable features. There&rsquo;s recently been some discussion about the benefits and downsides of lock (mutex) poisoning in Rust, spurred by a recent proposal to make the default mutex non-poisoned, i.e. silently unlock on panic (see also, recent discussion on Hacker News ). As a passionate defender of lock poisoning, I thought…