holochain_locksmith 0.0.50-alpha2

helpers for mutex deadlock diagnosis
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
mod guard;
mod mutex;

pub use crate::bypass::{
    guard::{
        HcMutexGuard as MutexGuard, HcRwLockReadGuard as RwLockReadGuard,
        HcRwLockWriteGuard as RwLockWriteGuard,
    },
    mutex::{HcMutex as Mutex, HcRwLock as RwLock},
};

pub fn spawn_locksmith_guard_watcher() {
    warn!("Locksmith is in bypass mode -- spawn_locksmith_guard_watcher is a noop")
}

#[derive(Debug)]
pub struct LocksmithError;