MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
thread_id_indexer_t< Type, N > Struct Template Reference

#include <ut0counter.h>

Inheritance diagram for thread_id_indexer_t< Type, N >:
Collaboration diagram for thread_id_indexer_t< Type, N >:

Public Member Functions

size_t get_rnd_index () const UNIV_NOTHROW
- Public Member Functions inherited from generic_indexer_t< Type, N >
size_t offset (size_t index) const UNIV_NOTHROW

Detailed Description

template<typename Type, int N>
struct thread_id_indexer_t< Type, N >

Use the thread id to index into the counter array.

Definition at line 74 of file ut0counter.h.

Member Function Documentation

template<typename Type, int N>
size_t thread_id_indexer_t< Type, N >::get_rnd_index ( ) const
inline

Default constructor/destructor should are OK.

Definition at line 80 of file ut0counter.h.


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