Remove unused is_woken_up method

This commit is contained in:
Ruihan Li
2023-12-30 21:07:09 +08:00
committed by Tate, Hongliang Tian
parent 98bb9c5256
commit 2fe84663ab

View File

@ -172,10 +172,6 @@ impl Waiter {
self.is_woken_up.store(false, Ordering::SeqCst);
}
pub fn is_woken_up(&self) -> bool {
self.is_woken_up.load(Ordering::SeqCst)
}
pub fn wake_up(&self) {
if let Ok(false) =
self.is_woken_up