Prev Next ta_free_available

@(@\newcommand{\W}[1]{ \; #1 \; } \newcommand{\R}[1]{ {\rm #1} } \newcommand{\B}[1]{ {\bf #1} } \newcommand{\D}[2]{ \frac{\partial #1}{\partial #2} } \newcommand{\DD}[3]{ \frac{\partial^2 #1}{\partial #2 \partial #3} } \newcommand{\Dpow}[2]{ \frac{\partial^{#1}}{\partial {#2}^{#1}} } \newcommand{\dpow}[2]{ \frac{ {\rm d}^{#1}}{{\rm d}\, {#2}^{#1}} }@)@ This is cppad-20221105 documentation. Here is a link to its current documentation .
Free Memory Currently Available for Quick Use by a Thread

Syntax
thread_alloc::free_available(thread)

Purpose
Return to the system all the memory that is currently being held for quick use by the specified thread.

Extra Memory
In the case where thread > 0 , some extra memory is used to track allocations by the specified thread. If
    thread_alloc::inuse(
thread) == 0
the extra memory is also returned to the system.

thread
This argument has prototype
    size_t 
thread
Either thread_num must be the same as thread , or the current execution mode must be sequential (not parallel ).

Example
thread_alloc.cpp
Input File: include/cppad/utility/thread_alloc.hpp