mirror of
https://github.com/lightningdevkit/rust-lightning.git
synced 2025-03-15 15:39:09 +01:00
rustfmt
: Run on sync/fairrwlock.rs
This commit is contained in:
parent
edcdc565c4
commit
2cb1664cf6
1 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
use std::sync::{LockResult, RwLock, RwLockReadGuard, RwLockWriteGuard, TryLockResult};
|
||||
use std::sync::atomic::{AtomicUsize, Ordering};
|
||||
use super::{LockHeldState, LockTestExt};
|
||||
use std::sync::atomic::{AtomicUsize, Ordering};
|
||||
use std::sync::{LockResult, RwLock, RwLockReadGuard, RwLockWriteGuard, TryLockResult};
|
||||
|
||||
/// Rust libstd's RwLock does not provide any fairness guarantees (and, in fact, when used on
|
||||
/// Linux with pthreads under the hood, readers trivially and completely starve writers).
|
||||
|
|
Loading…
Add table
Reference in a new issue