eliminate RotationHandler

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk 2024-06-05 21:57:10 +00:00
parent 0e74ade7d7
commit 6e59135a7d
5 changed files with 12 additions and 37 deletions

View file

@ -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) }
}