eliminate RotationHandler
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
0e74ade7d7
commit
6e59135a7d
5 changed files with 12 additions and 37 deletions
|
@ -1,5 +1,5 @@
|
|||
use std::{
|
||||
sync::atomic::{AtomicBool, AtomicU32},
|
||||
sync::atomic::{AtomicBool, AtomicU32, Ordering},
|
||||
time::SystemTime,
|
||||
};
|
||||
|
||||
|
@ -65,4 +65,7 @@ impl Server {
|
|||
.as_ref()
|
||||
.expect("runtime handle available in Server")
|
||||
}
|
||||
|
||||
#[inline]
|
||||
pub fn running(&self) -> bool { !self.stopping.load(Ordering::Acquire) }
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue