mirror of
https://github.com/tokio-rs/tokio.git
synced 2025-09-28 12:10:37 +00:00
wip
This commit is contained in:
parent
f71c369203
commit
0cfaaea2b9
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user