Expand description
Locking that outlives a panicking holder: a poisoned lock hands back its guard instead of an error.
A release build aborts on a panic outside tilo_rt::panic_boundary::isolate, so
no thread meets a lock another poisoned, and state shared across such a boundary
must treat a poisoned lock as unavailable. Debug and test builds unwind
everywhere, where recovering keeps one failed test from cascading into every
later lock of the same state.
Modules§
- deferred
- Code a program fetches after its first frame, through a loader it registers
(
Deferred::defer).
Traits§
- Mutex
Recover Mutex::lock, recovering the guard of a poisoned mutex.- RwLock
Recover RwLock::readandRwLock::write, recovering the guard of a poisoned lock.