runtime: add owner id for tasks in OwnedTasks (#3979)

This commit is contained in:
Alice Ryhl
2021-07-27 10:41:35 +02:00
committed by GitHub
parent 0de05422ce
commit f2a06bff1b
12 changed files with 317 additions and 69 deletions
+1 -1
View File
@@ -71,7 +71,7 @@ struct Shared {
worker_thread_index: usize,
}
type Task = task::Notified<NoopSchedule>;
type Task = task::UnownedTask<NoopSchedule>;
const KEEP_ALIVE: Duration = Duration::from_secs(10);