Closed
Description
Feature gate: #![feature(mutex_unpoison)]
This is a tracking issue for functions to clear the poisoned flag on Mutex
and RwLock
.
Public API
// std::sync
impl<T: ?Sized> Mutex<T> {
pub fn clear_poison(&self);
}
impl<T: ?Sized> RwLock<T> {
pub fn clear_poison(&self);
}
Steps / History
- https://internals.rust-lang.org/t/unpoisoning-a-mutex/16521
- Implementation: Add functions to un-poison Mutex and RwLock #96422
- Final comment period (FCP)
- Stabilization PR
Unresolved Questions
- None yet.