Lines Matching refs:Shared
228 owned: LocalOwnedTasks<Arc<Shared>>,
231 queue: VecDequeCell<task::Notified<Arc<Shared>>>,
234 shared: Arc<Shared>,
238 struct Shared { struct
240 queue: Mutex<Option<VecDeque<task::Notified<Arc<Shared>>>>>, argument
335 shared: Arc::new(Shared { in new()
532 fn next_task(&self) -> Option<task::LocalNotified<Arc<Shared>>> { in next_task() argument
657 impl Shared { implementation
679 fn ptr_eq(&self, other: &Shared) -> bool { in ptr_eq()
684 impl task::Schedule for Arc<Shared> {
694 Shared::schedule(self, task); in schedule()