chiark
/
gitweb
/
~ianmdlvl
/
otter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97b33dd
)
Mutex debug: Enable it (for demo and testing)
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 27 Mar 2022 22:31:03 +0000
(23:31 +0100)
committer
Ian 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
patch
|
blob
|
history
diff --git
a/src/prelude.rs
b/src/prelude.rs
index ac9701310fa1e5480d5a8133898f07239003e144..882381c1037b7e05d1a45c5cf1a35fe72f39ce51 100644
(file)
--- 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 ;