Lines Matching refs:NOTIFIED
32 const NOTIFIED: usize = 2; constant
85 .compare_exchange(NOTIFIED, EMPTY, SeqCst, SeqCst) in park()
96 Err(NOTIFIED) => { in park()
104 debug_assert_eq!(old, NOTIFIED, "park state changed unexpectedly"); in park()
116 .compare_exchange(NOTIFIED, EMPTY, SeqCst, SeqCst) in park()
132 .compare_exchange(NOTIFIED, EMPTY, SeqCst, SeqCst) in park_timeout()
146 Err(NOTIFIED) => { in park_timeout()
149 debug_assert_eq!(old, NOTIFIED, "park state changed unexpectedly"); in park_timeout()
163 NOTIFIED => {} // got a notification, hurray! in park_timeout()
175 match self.state.swap(NOTIFIED, SeqCst) { in unpark()
177 NOTIFIED => return, // already unparked in unpark()