1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#![doc = include_str!("../README.md")]
#![warn(missing_docs)]
#![warn(rustdoc::missing_crate_level_docs)]
pub use parking_lot::{
Mutex, MutexGuard, ReentrantMutex, ReentrantMutexGuard, RwLock, RwLockReadGuard,
RwLockWriteGuard,
};
pub use std::time::{Duration, Instant};
pub struct Blocking;
pub struct TryLock;
pub struct Recursive<T>(pub T);
mod readlock_method;
pub use readlock_method::*;
mod writelock_method;
pub use writelock_method::*;
mod mutex_method;
pub use mutex_method::*;
mod reentrant_mutex_method;
pub use reentrant_mutex_method::*;