pub fn set_max_threads(n: usize)Expand description
Set the maximum number of worker threads any stage may use.
Detection bands, the background histogram, the pixel-range scan and the spiral
search each spawn their own workers, so a single knob has to reach all of them;
threading a parameter through every signature would be worse. 1 makes the whole
solve single-threaded, which is what you want when running many solves in
parallel yourself, or when profiling.