Currently, not all algorithms account for the initial thread when using the value of the thread_number option. For example, src/core/algorithms/fd/hycommon/sampler.cpp constructs a thread_pool with threads_num_ threads, ending up using actually using threads_num_ + 1 threads.
Currently, not all algorithms account for the initial thread when using the value of the thread_number option. For example, src/core/algorithms/fd/hycommon/sampler.cpp constructs a
thread_poolwiththreads_num_threads, ending up using actually usingthreads_num_ + 1threads.