Expand description
Check whether the thread itself already locks the mutex; only a hack currently, won’t be generally reliable, right? Should probably use cooptex or tracing-mutex instead. To use conditionally in debug mode, import as:
#[cfg(debug_assertions)]
use chj_rustbin::checked_mutex::{CheckedMutex as Mutex, CheckedMutexGuard as MutexGuard};
#[cfg(not(debug_assertions))]
use std::sync::{Mutex, MutexGuard};