Lines Matching refs:NOTIFIED
177 const NOTIFIED: usize = 2; constant
322 while let EMPTY | NOTIFIED = get_state(curr) { in notify_one()
326 let new = set_state(curr, NOTIFIED); in notify_one()
396 if let EMPTY | NOTIFIED = get_state(curr) { in notify_waiters()
466 EMPTY | NOTIFIED => { in notify_locked()
467 let res = state.compare_exchange(curr, set_state(curr, NOTIFIED), SeqCst, SeqCst); in notify_locked()
473 assert!(actual_state == EMPTY || actual_state == NOTIFIED); in notify_locked()
474 state.store(set_state(actual, NOTIFIED), SeqCst); in notify_locked()
543 set_state(curr, NOTIFIED), in poll()
582 assert_eq!(get_state(actual), NOTIFIED); in poll()
589 NOTIFIED => { in poll()
592 set_state(curr, NOTIFIED), in poll()