CppAD: A C++ Algorithmic Differentiation Package
20130102
|
static void thread_alloc::dec_inuse | ( | size_t | dec, |
size_t | thread | ||
) | [inline, static, private] |
Decrease the number of bytes of memory that are currently in use; i.e., that been obtained with get_memory
and not yet returned.
dec | [in] amount to decrease number of bytes in use. |
thread | [in] Thread for which we are decreasing the number of bytes in use (must be less than num_threads ). Durring parallel execution, this must be the thread that is currently executing. |
Definition at line 307 of file thread_alloc.hpp.
Referenced by return_memory().