From f36c9dc24af1e1f7cdd687ab27799d6f6ad684cc Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 27 Mar 2022 23:31:03 +0100 Subject: [PATCH] Mutex debug: Enable it (for demo and testing) Signed-off-by: Ian Jackson --- src/prelude.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/prelude.rs b/src/prelude.rs index ac970131..882381c1 100644 --- a/src/prelude.rs +++ b/src/prelude.rs @@ -113,8 +113,8 @@ pub use crate::imports::zipfile::{self, read::ZipFile, result::ZipError}; pub use parking_lot::{RwLock, RwLockReadGuard, RwLockWriteGuard}; // Swap this over for debugging -pub use parking_lot::{Mutex, MutexGuard}; -//pub use crate::debugmutex::{Mutex, MutexGuard}; +//pub use parking_lot::{Mutex, MutexGuard}; +pub use crate::debugmutex::{Mutex, MutexGuard}; use nix::time::ClockId; pub const CLOCK_REALTIME : ClockId = ClockId::CLOCK_REALTIME ; -- 2.30.2