chiark / gitweb /
Mutex debug: Enable it (for demo and testing)
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 27 Mar 2022 22:31:03 +0000 (23:31 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 27 Mar 2022 23:50:50 +0000 (00:50 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
src/prelude.rs

index ac9701310fa1e5480d5a8133898f07239003e144..882381c1037b7e05d1a45c5cf1a35fe72f39ce51 100644 (file)
@@ -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 ;