CACAO
Public Member Functions | Data Fields
InternTable< _Entry, concurrency_factor >::Segment Struct Reference

Public Member Functions

void initialize (size_t initial_capacity, size_t load_factor)
 
void destroy ()
 
template<typename Thunk >
const Entryintern (const Thunk &thunk)
 

Data Fields

HashTable< Entryht
 
Mutex mutex
 

Detailed Description

template<class _Entry, size_t concurrency_factor = 4>
struct InternTable< _Entry, concurrency_factor >::Segment

Definition at line 105 of file intern_table.hpp.

Member Function Documentation

template<class _Entry , size_t concurrency_factor = 4>
void InternTable< _Entry, concurrency_factor >::Segment::destroy ( )
inline

Definition at line 111 of file intern_table.hpp.

template<class _Entry , size_t concurrency_factor = 4>
void InternTable< _Entry, concurrency_factor >::Segment::initialize ( size_t  initial_capacity,
size_t  load_factor 
)
inline

Definition at line 106 of file intern_table.hpp.

template<class _Entry , size_t concurrency_factor = 4>
template<typename Thunk >
const Entry& InternTable< _Entry, concurrency_factor >::Segment::intern ( const Thunk &  thunk)
inline

Definition at line 116 of file intern_table.hpp.

Field Documentation

template<class _Entry , size_t concurrency_factor = 4>
HashTable<Entry> InternTable< _Entry, concurrency_factor >::Segment::ht

Definition at line 122 of file intern_table.hpp.

template<class _Entry , size_t concurrency_factor = 4>
Mutex InternTable< _Entry, concurrency_factor >::Segment::mutex

Definition at line 123 of file intern_table.hpp.


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