Home
last modified time | relevance | path

Searched refs:SpawnTask (Results 1 – 2 of 2) sorted by relevance

/external/rust/crates/grpcio/src/task/
Dexecutor.rs85 pub struct SpawnTask { struct
95 unsafe impl Sync for SpawnTask {} implementation
97 impl SpawnTask { implementation
98 fn new(s: SpawnHandle, kicker: Kicker, queue: Arc<WorkQueue>) -> SpawnTask { in new() argument
99 SpawnTask { in new()
138 pub fn resolve(task: Arc<SpawnTask>, success: bool) { in resolve() argument
148 impl ArcWake for SpawnTask { implementation
173 pub struct UnfinishedWork(Arc<SpawnTask>);
184 fn poll(task: Arc<SpawnTask>, woken: bool) { in poll() argument
253 let notify = Arc::new(SpawnTask::new(s, kicker, self.cq.worker.clone())); in spawn()
Dmod.rs16 use self::executor::SpawnTask;
117 Spawn(Arc<SpawnTask>),