omp_free_available

View page source

Free Memory Currently Available for Quick Use by a Thread

Deprecated 2011-08-31

Use the function thread_alloc::free_available instead.

Syntax

# include <cppad/utility/omp_alloc.hpp>

omp_alloc::free_available ( thread )

Purpose

Free memory, currently available for quick use by a specific thread, for general future use.

thread

This argument has prototype

size_t thread

Either omp_get_thread_num must be the same as thread , or the current execution mode must be sequential (not parallel ).