mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-26 00:00:16 +02:00
wip
This commit is contained in:
@@ -295,7 +295,7 @@ pub(super) fn create(
|
||||
idle,
|
||||
owned: OwnedTasks::new(),
|
||||
synced: Mutex::new(Synced {
|
||||
assigned_cores: Vec::with_capacity(num_cores),
|
||||
assigned_cores: (0..num_workers).map(|_| None).collect(),
|
||||
shutdown_cores: Vec::with_capacity(num_cores),
|
||||
idle: idle_synced,
|
||||
inject: inject_synced,
|
||||
|
||||
Reference in New Issue
Block a user