Prev Next ta_free_all

@(@\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}} }@)@
Free All Memory That Was Allocated for Use by thread_alloc

Syntax
ok = thread_alloc::free_all() .

Purpose
Returns all memory that was used by thread_alloc to the system.

ok
The return value ok has prototype
     bool 
ok
Its value will be true if all the memory can be freed. This requires that for all thread indices, there is no memory inuse ; i.e.,
     0 == thread_alloc::inuse(
thread)
Otherwise, the return value will be false.

Restrictions
This function cannot be called while in parallel mode.

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