Skip to main content

spawn_more_threads

Function spawn_more_threads 

Source
pub async fn spawn_more_threads(count: usize) -> Result<usize>
Expand description

Starts up to count more workers on the runtime this thread is inside (or the default one), within its maximum; returns how many started.

§Errors

When a worker’s poller cannot be made or its thread cannot start.