Lines Matching full:give
142 Give, enumerator
151 State::Give => 2, in from()
162 2 => State::Give, in from()
191 /// calling [`give`](Giver::give).
202 State::Idle | State::Give => { in poll_want()
206 // While we have the lock, try to set to GIVE. in poll_want()
209 State::Give.into(), in poll_want()
213 // If it's still the first state (Idle or Give), park current task. in poll_want()
247 pub fn give(&self) -> bool { in give() method
345 State::Give => { in signal()
447 assert!(gv.give(), "give is true when wanting"); in want_notify_0()
449 assert!(!gv.is_wanting(), "no longer wanting after give"); in want_notify_0()
450 assert!(!gv.is_canceled(), "give doesn't cancel"); in want_notify_0()
452 assert!(!gv.give(), "give is false if not wanting"); in want_notify_0()