CppAD: A C++ Algorithmic Differentiation Package
20130102
|
static void omp_alloc::return_memory | ( | void * | v_ptr | ) | [inline, static] |
Return memory that was obtained by get_memory
.
If max_num_threads(0) == 1
, the memory is returned to the system. Otherwise, it is retained by omp_alloc
and available for use by get_memory
for this thread.
v_ptr | [in] Value of the pointer returned by get_memory and still in use. After this call, this pointer will available (and not in use). |
get_memory
. Definition at line 335 of file omp_alloc.hpp.