Home
last modified time | relevance | path

Searched refs:new_waker (Results 1 – 4 of 4) sorted by relevance

/external/rust/crates/futures-util/src/future/future/
Dshared.rs179 let new_waker = cx.waker(); in record_waker() localVariable
182 *waker_key = wakers.insert(Some(new_waker.clone())); in record_waker()
185 Some(ref old_waker) if new_waker.will_wake(old_waker) => {} in record_waker()
187 ref mut slot => *slot = Some(new_waker.clone()), in record_waker()
/external/crosvm/cros_async/src/
Dwaker.rs61 pub(crate) fn new_waker<W: WeakWake>(w: Weak<W>) -> Waker { in new_waker() function
Dfd_executor.rs30 use crate::waker::{new_waker, WakerToken, WeakWake};
483 let waker = new_waker(Arc::downgrade(&self.raw)); in run()
490 let waker = new_waker(Arc::downgrade(&self.raw)); in run_until()
During_executor.rs78 use crate::waker::{new_waker, WakerToken, WeakWake};
739 let waker = new_waker(Arc::downgrade(&self.raw)); in run()
746 let waker = new_waker(Arc::downgrade(&self.raw)); in run_until()