Skip to main content

Module threading

Module threading 

Source
Expand description

Thread-count selection helpers.

Functionsยง

worker_threads_for_available
Caps an explicit positive worker count to available parallelism, or uses half the available threads with a minimum target of two.