Skip to main content

lc_set_threads

Function lc_set_threads 

Source
#[unsafe(no_mangle)]
pub extern "C" fn lc_set_threads(n: c_int)
Expand description

Choose the Rayon width for later searches. n == 0 leaves it unset: the search starts on the calling thread with Rayon’s and OpenMP’s own widths. n == 1 runs the whole search on the calling thread and starts no thread. n < 0 selects one thread.