The story’s score and claims

Comments on No. 72 of 128 · Armin Ronacher · edition of Thursday 26 November 2026

Abolish Lock Poisoning

Summary

Rust's std::sync::Mutex poisons itself when a thread panics while holding it, so every later lock() returns an error. The author argues this feature should be removed or made the exception, citing real codebases where poisoning caused outages, deadlocks through PoisonError guards, and rarely any correct recovery.

Comments

Ranked by a public rubric, not by votes: what a comment adds counts, not who wrote it. How comments are ranked · Comment rules