Searched refs:new_waker (Results 1 – 4 of 4) sorted by relevance
179 let new_waker = cx.waker(); in record_waker() localVariable182 *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()
61 pub(crate) fn new_waker<W: WeakWake>(w: Weak<W>) -> Waker { in new_waker() function
30 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()
78 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()