Searched refs:SpawnTask (Results 1 – 2 of 2) sorted by relevance
85 pub struct SpawnTask { struct95 unsafe impl Sync for SpawnTask {} implementation97 impl SpawnTask { implementation98 fn new(s: SpawnHandle, kicker: Kicker, queue: Arc<WorkQueue>) -> SpawnTask { in new() argument99 SpawnTask { in new()138 pub fn resolve(task: Arc<SpawnTask>, success: bool) { in resolve() argument148 impl ArcWake for SpawnTask { implementation173 pub struct UnfinishedWork(Arc<SpawnTask>);184 fn poll(task: Arc<SpawnTask>, woken: bool) { in poll() argument253 let notify = Arc::new(SpawnTask::new(s, kicker, self.cq.worker.clone())); in spawn()
16 use self::executor::SpawnTask;117 Spawn(Arc<SpawnTask>),