CppAD: A C++ Algorithmic Differentiation Package
20171217
|
|
inlinestaticprivate |
Set and get the number of threads that are sharing memory.
number_new | If number is zero, we are only retreiving the current maximum number of threads. Otherwise, we are setting and retreiving maximum number of threads. |
number_new
is non-zero, the return value is equal to number_new
. Definition at line 355 of file thread_alloc.hpp.
Referenced by num_threads(), parallel_setup(), and set_get_thread_num().