Module tracing_mutex::stdsync
source · [−]Expand description
Tracing mutex wrappers for locks found in std::sync.
This module provides wrappers for std::sync primitives with exactly the same API and
functionality as their counterparts, with the exception that their acquisition order is
tracked.
let mutex = TracingMutex::new(());
mutex.lock().unwrap();
let rwlock = TracingRwLock::new(());
rwlock.read().unwrap();Structs
Wrapper around std::sync::Condvar.
Wrapper for std::sync::Mutex.
Wrapper for std::sync::MutexGuard.
Wrapper around std::sync::Once.
Wrapper for std::sync::RwLock.
Hybrid wrapper for both std::sync::RwLockReadGuard and std::sync::RwLockWriteGuard.
Type Definitions
Debug-only Condvar
Debug-only tracing Mutex.
Mutex guard for DebugMutex.
Debug-only tracing Once.
Read guard for DebugRwLock.
Debug-only tracing RwLock.
Write guard for DebugRwLock.
Wrapper around std::sync::RwLockReadGuard.
Wrapper around std::sync::RwLockWriteGuard.