Using this feature in Cargo.toml:
tokio = { version = "0.2.11", features = ["rt-threaded"] }
I can then fire-up a threaded runtime:
let mut threaded_rt = runtime::Builder::new()
.threaded_scheduler()
.build()?;
threaded_rt.block_on(...)
My question is: How does tokio know when to begin using the other threads in the ThreadPool? Does this happen when a single event loop begins to have more than a single Poll::Ready status after polling all the futures?
Also, are there multiple event loops running, or just one primary event loop?