Lines Matching refs:SCHEDULE
97 schedule!(s, chan, SCHEDULE, DROP_S); in wake_during_run()
109 assert_eq!(SCHEDULE.load(Ordering::SeqCst), 2); in wake_during_run()
119 assert_eq!(SCHEDULE.load(Ordering::SeqCst), 1); in wake_during_run()
127 assert_eq!(SCHEDULE.load(Ordering::SeqCst), 2); in wake_during_run()
141 schedule!(s, chan, SCHEDULE, DROP_S); in cancel_during_run()
154 assert_eq!(SCHEDULE.load(Ordering::SeqCst), 1); in cancel_during_run()
164 assert_eq!(SCHEDULE.load(Ordering::SeqCst), 1); in cancel_during_run()
172 assert_eq!(SCHEDULE.load(Ordering::SeqCst), 1); in cancel_during_run()
183 schedule!(s, chan, SCHEDULE, DROP_S); in wake_and_cancel_during_run()
196 assert_eq!(SCHEDULE.load(Ordering::SeqCst), 1); in wake_and_cancel_during_run()
206 assert_eq!(SCHEDULE.load(Ordering::SeqCst), 1); in wake_and_cancel_during_run()
213 assert_eq!(SCHEDULE.load(Ordering::SeqCst), 1); in wake_and_cancel_during_run()
221 assert_eq!(SCHEDULE.load(Ordering::SeqCst), 1); in wake_and_cancel_during_run()
232 schedule!(s, chan, SCHEDULE, DROP_S); in cancel_and_wake_during_run()
245 assert_eq!(SCHEDULE.load(Ordering::SeqCst), 1); in cancel_and_wake_during_run()
255 assert_eq!(SCHEDULE.load(Ordering::SeqCst), 1); in cancel_and_wake_during_run()
262 assert_eq!(SCHEDULE.load(Ordering::SeqCst), 1); in cancel_and_wake_during_run()
270 assert_eq!(SCHEDULE.load(Ordering::SeqCst), 1); in cancel_and_wake_during_run()
281 schedule!(s, chan, SCHEDULE, DROP_S); in drop_last_waker()
289 assert_eq!(SCHEDULE.load(Ordering::SeqCst), 0); in drop_last_waker()
296 assert_eq!(SCHEDULE.load(Ordering::SeqCst), 1); in drop_last_waker()
303 assert_eq!(SCHEDULE.load(Ordering::SeqCst), 1); in drop_last_waker()
312 schedule!(s, chan, SCHEDULE, DROP_S); in cancel_last_task()
318 assert_eq!(SCHEDULE.load(Ordering::SeqCst), 0); in cancel_last_task()
325 assert_eq!(SCHEDULE.load(Ordering::SeqCst), 1); in cancel_last_task()
332 assert_eq!(SCHEDULE.load(Ordering::SeqCst), 1); in cancel_last_task()
341 schedule!(s, chan, SCHEDULE, DROP_S); in drop_last_task()
347 assert_eq!(SCHEDULE.load(Ordering::SeqCst), 0); in drop_last_task()
354 assert_eq!(SCHEDULE.load(Ordering::SeqCst), 1); in drop_last_task()
361 assert_eq!(SCHEDULE.load(Ordering::SeqCst), 1); in drop_last_task()