deloxide 1.1.0

Deloxide scrubs your threads clean by detecting deadlocks in real time—keeping your system smooth, safe, and corrosion-free. 🦀🧼🔒
Documentation
1
2
3
4
5
6
7
8
9
use deloxide::{Deloxide, RwLock};

fn main() {
    Deloxide::new().start().expect("detector initialization");
    let value = RwLock::new(String::from("deloxide"));
    assert_eq!(value.read().as_str(), "deloxide");
    value.write().push_str(" runtime");
    assert_eq!(value.read().as_str(), "deloxide runtime");
}