Skip to main content

task_count

Function task_count 

Source
pub fn task_count(n_items: usize) -> usize
Expand description

How many tasks the spin arm splits n_items into.

Never more than one task per item, never zero, and never more than the pool can usefully chase. No work threshold appears here; see the module docs on MIN_TASK_MACS.