CppAD: A C++ Algorithmic Differentiation Package
20171217
|
|
static |
Set and call the routine that determine if we are in parallel execution mode.
in_parallel_new | [in] If set is false, in_parallel_new it is not used. Otherwise, the current value of in_parallel_new becomes the most recent setting for in_parallel_user. |
set | If set is true, then parallel_new is becomes the most recent setting for this set_get_in_parallel. In this case, it is assumed that we are currently in sequential execution mode. |
Definition at line 45 of file set_get_in_parallel.hpp.
Referenced by CppAD::ErrorHandler::Current(), CppAD::ErrorHandler::ErrorHandler(), CppAD::thread_alloc::in_parallel(), CppAD::thread_alloc::parallel_setup(), and CppAD::ErrorHandler::~ErrorHandler().