Lines Matching full:notify
1 use crate::sync::Notify;
15 let arc = ManuallyDrop::new(Arc::<Notify>::from_raw(data as *const Notify)); in notify_clones_waker_before_lock() constant
17 // Notify wait list is locked. in notify_clones_waker_before_lock()
24 let _ = Arc::<Notify>::from_raw(data as *const Notify); in notify_clones_waker_before_lock() constant
35 let notify = Arc::new(Notify::new()); in notify_clones_waker_before_lock() localVariable
36 let notify2 = notify.clone(); in notify_clones_waker_before_lock()
42 let future = notify.notified(); in notify_clones_waker_before_lock()
51 let notify = Notify::new(); in notify_simple() localVariable
53 let mut fut1 = tokio_test::task::spawn(notify.notified()); in notify_simple()
56 let mut fut2 = tokio_test::task::spawn(notify.notified()); in notify_simple()
59 notify.notify_waiters(); in notify_simple()