CppAD: A C++ Algorithmic Differentiation Package
20171217
|
|
inlinestaticprivate |
Set and call the routine that determine the current thread number.
CPPAD_NULL
(its initial value), the return value is zero. Otherwise the routine corresponding to the most recent setting is called and its value returned by set_get_thread_num
.thread_num_new | [in] If set is false, thread_num_new it is not used. Otherwise, the current value of thread_num_new becomes the most recent setting for thread_num. |
set | If set is true, then thread_num_new is becomes the most recent setting for this set_get_thread_num . |
Definition at line 387 of file thread_alloc.hpp.
Referenced by parallel_setup(), and thread_num().