MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
thread_local_pool< T > Class Template Reference

Public Member Functions

 thread_local_pool (thr_safe_pool< T > *global_pool, unsigned max_free)
T * seize (Ndbd_mem_manager *mm, Uint32 rg)
void release (Ndbd_mem_manager *mm, Uint32 rg, T *t)
void release_local (T *t)
void validate () const
void release_global (Ndbd_mem_manager *mm, Uint32 rg)
void release_all (Ndbd_mem_manager *mm, Uint32 rg)
void set_pool (thr_safe_pool< T > *pool)

Detailed Description

template<typename T>
class thread_local_pool< T >

thread_local_pool

Definition at line 453 of file mt.cpp.

Member Function Documentation

template<typename T>
void thread_local_pool< T >::release_global ( Ndbd_mem_manager mm,
Uint32  rg 
)
inline

Release entries so that m_max_free is honored (likely used together with release_local)

Definition at line 522 of file mt.cpp.

Here is the caller graph for this function:

template<typename T>
void thread_local_pool< T >::release_local ( T *  t)
inline

Release to local pool even if it get's "too" full (wrt to m_max_free)

Definition at line 497 of file mt.cpp.


The documentation for this class was generated from the following file: