#mutex #parking-lot #debugging #deadlock #re-run #logging

re_mutex

A wrapper around parking_lot::Mutex useful for debugging deadlocks

9 releases

Uses new Rust 2024

new 0.30.1 Mar 4, 2026
0.30.0 Feb 25, 2026

#807 in Concurrency

Download history 45/week @ 2026-02-18 2360/week @ 2026-02-25

2,560 downloads per month
Used in 43 crates (9 directly)

MIT/Apache

56KB
753 lines

Wrappers around parking_lot locks, with a simple deadlock detection mechanism.


re_mutex

Part of the rerun family of crates.

Latest version Documentation MIT Apache

A wrapper around parking_log::Mutex which logs a backtrace if a lock waits on the lock for more than 10 seconds. To make it easier to debug deadlocks.

Dependencies

~5.5–8MB
~70K SLoC