chiark / gitweb /
Revert "Mutex debug: Enable it (for demo and testing)"
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 27 Mar 2022 22:40:14 +0000 (23:40 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 27 Mar 2022 23:50:50 +0000 (00:50 +0100)
This reverts commit 7456a32426e6b4a487adcc279db4547639a0ffba.

src/prelude.rs

index 2dfb5cd9082089809185ed00c5e456ab06185fe0..06b91eea5a7cb30540ec9d746a912180e348307e 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 ;