mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-29 16:13:27 +00:00
Remove unused is_woken_up
method
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
98bb9c5256
commit
2fe84663ab
@ -172,10 +172,6 @@ impl Waiter {
|
|||||||
self.is_woken_up.store(false, Ordering::SeqCst);
|
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) {
|
pub fn wake_up(&self) {
|
||||||
if let Ok(false) =
|
if let Ok(false) =
|
||||||
self.is_woken_up
|
self.is_woken_up
|
||||||
|
Reference in New Issue
Block a user