Searched refs:old_waker (Results 1 – 4 of 4) sorted by relevance
200 let mut old_waker = None; in do_register() localVariable203 old_waker = self.waker.with_mut(|t| (*t).take()); in do_register()225 drop(old_waker); in do_register()246 old_waker = waker.take(); in do_register()251 if let Some(old_waker) = old_waker { in do_register()253 old_waker.wake(); in do_register()
242 State::Waiting(old_waker) => { in poll()245 mem::drop(old_waker); in poll()
253 State::Waiting(old_waker) => { in poll()256 mem::drop(old_waker); in poll()
226 Some(ref old_waker) if new_waker.will_wake(old_waker) => {} in record_waker()