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

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.