Lines Matching defs:Shared
239 struct Shared { struct
247 queue: Mutex<Option<VecDeque<task::Notified<Arc<Shared>>>>>, argument
264 local_queue: UnsafeCell<VecDeque<task::Notified<Arc<Shared>>>>, argument
626 fn next_task(&self) -> Option<task::LocalNotified<Arc<Shared>>> { in next_task()
657 fn pop_local(&self) -> Option<task::Notified<Arc<Shared>>> { in pop_local()
938 impl Shared { impl
987 unsafe impl Sync for Shared {} implementation
1026 unsafe fn task_pop_front(&self) -> Option<task::Notified<Arc<Shared>>> { in task_pop_front()
1034 unsafe fn task_push_back(&self, task: task::Notified<Arc<Shared>>) { in task_push_back()
1042 unsafe fn take_local_queue(&self) -> VecDeque<task::Notified<Arc<Shared>>> { in take_local_queue()
1050 unsafe fn task_remove(&self, task: &Task<Arc<Shared>>) -> Option<Task<Arc<Shared>>> { in task_remove()
1069 task: task::Notified<Arc<Shared>>, in assert_owner()
1070 ) -> task::LocalNotified<Arc<Shared>> { in assert_owner()