Skip to main content

MIN_RUNTIME_THREADS

Constant MIN_RUNTIME_THREADS 

Source
const MIN_RUNTIME_THREADS: usize = 2;
Expand description

The minimum number of worker threads for runtimes sized by CPU count. A single-threaded runtime can easily deadlock in async code.