mirror of
https://github.com/lightningdevkit/rust-lightning.git
synced 2025-02-24 23:08:36 +01:00
Move fairrwlock
to the sync
module
This commit is contained in:
parent
9f102037a9
commit
9422370dd2
3 changed files with 2 additions and 4 deletions
|
@ -7,9 +7,9 @@ pub use debug_sync::*;
|
||||||
mod test_lockorder_checks;
|
mod test_lockorder_checks;
|
||||||
|
|
||||||
#[cfg(all(feature = "std", any(feature = "_bench_unstable", not(test))))]
|
#[cfg(all(feature = "std", any(feature = "_bench_unstable", not(test))))]
|
||||||
pub use ::std::sync::{Arc, Mutex, Condvar, MutexGuard, RwLock, RwLockReadGuard, RwLockWriteGuard};
|
pub(crate) mod fairrwlock;
|
||||||
#[cfg(all(feature = "std", any(feature = "_bench_unstable", not(test))))]
|
#[cfg(all(feature = "std", any(feature = "_bench_unstable", not(test))))]
|
||||||
pub use crate::util::fairrwlock::FairRwLock;
|
pub use {std::sync::{Arc, Mutex, Condvar, MutexGuard, RwLock, RwLockReadGuard, RwLockWriteGuard}, fairrwlock::FairRwLock};
|
||||||
|
|
||||||
#[cfg(not(feature = "std"))]
|
#[cfg(not(feature = "std"))]
|
||||||
mod nostd_sync;
|
mod nostd_sync;
|
||||||
|
|
|
@ -27,8 +27,6 @@ pub mod wakers;
|
||||||
pub(crate) mod atomic_counter;
|
pub(crate) mod atomic_counter;
|
||||||
pub(crate) mod byte_utils;
|
pub(crate) mod byte_utils;
|
||||||
pub(crate) mod chacha20;
|
pub(crate) mod chacha20;
|
||||||
#[cfg(all(any(feature = "_bench_unstable", not(test)), feature = "std"))]
|
|
||||||
pub(crate) mod fairrwlock;
|
|
||||||
#[cfg(fuzzing)]
|
#[cfg(fuzzing)]
|
||||||
pub mod zbase32;
|
pub mod zbase32;
|
||||||
#[cfg(not(fuzzing))]
|
#[cfg(not(fuzzing))]
|
||||||
|
|
Loading…
Add table
Reference in a new issue