Lines Matching full:wait
59 let mut wait = task::spawn(tracker.wait()); in notify_immediately() localVariable
60 assert_ready!(wait.poll()); in notify_immediately()
68 let mut wait = task::spawn(tracker.wait()); in notify_immediately_on_reopen() localVariable
70 assert_ready!(wait.poll()); in notify_immediately_on_reopen()
77 let mut wait = task::spawn(tracker.wait()); in notify_on_close() localVariable
79 assert_pending!(wait.poll()); in notify_on_close()
81 assert_ready!(wait.poll()); in notify_on_close()
88 let mut wait = task::spawn(tracker.wait()); in notify_on_close_reopen() localVariable
90 assert_pending!(wait.poll()); in notify_on_close_reopen()
93 assert_ready!(wait.poll()); in notify_on_close_reopen()
102 let mut wait = task::spawn(tracker.wait()); in notify_on_last_task() localVariable
103 assert_pending!(wait.poll()); in notify_on_last_task()
105 assert_ready!(wait.poll()); in notify_on_last_task()
114 let mut wait = task::spawn(tracker.wait()); in notify_on_last_task_respawn() localVariable
115 assert_pending!(wait.poll()); in notify_on_last_task_respawn()
118 assert_ready!(wait.poll()); in notify_on_last_task_respawn()
127 let mut wait = task::spawn(tracker.wait()); in no_notify_on_respawn_if_open() localVariable
128 assert_pending!(wait.poll()); in no_notify_on_respawn_if_open()
131 assert_pending!(wait.poll()); in no_notify_on_respawn_if_open()
143 let mut wait = task::spawn(tracker.wait()); in close_during_exit() localVariable
146 assert_pending!(wait.poll()); in close_during_exit()
149 assert_pending!(wait.poll()); in close_during_exit()
155 assert_pending!(wait.poll()); in close_during_exit()
159 assert_ready!(wait.poll()); in close_during_exit()
167 let mut waits: Vec<_> = (0..10).map(|_| task::spawn(tracker.wait())).collect(); in notify_many()
169 for wait in &mut waits { in notify_many()
170 assert_pending!(wait.poll()); in notify_many()
175 for wait in &mut waits { in notify_many()
176 assert_ready!(wait.poll()); in notify_many()