Tervel  1.0.0
A collection of wait-free containers and algorithms.
Public Member Functions | Private Member Functions | Private Attributes | List of all members
tervel::Tervel Class Reference

Contains shared information that should be accessible by all threads. More...

#include <tervel.h>

Public Member Functions

 Tervel (size_t num_threads)
 
 ~Tervel ()
 

Private Member Functions

uint64_t get_thread_id ()
 
 DISALLOW_COPY_AND_ASSIGN (Tervel)
 

Private Attributes

const uint64_t num_threads_
 
std::atomic< uint64_t > active_threads_ {0}
 
util::memory::hp::HazardPointer hazard_pointer_
 
util::memory::rc::PoolManager rc_pool_manager_
 
util::ProgressAssurance progress_assurance_
 
friend ThreadContext
 

Detailed Description

Contains shared information that should be accessible by all threads.

Constructor & Destructor Documentation

tervel::Tervel::Tervel ( size_t  num_threads)
inlineexplicit
tervel::Tervel::~Tervel ( )
inline

Member Function Documentation

tervel::Tervel::DISALLOW_COPY_AND_ASSIGN ( Tervel  )
private
uint64_t tervel::Tervel::get_thread_id ( )
inlineprivate

Member Data Documentation

std::atomic<uint64_t> tervel::Tervel::active_threads_ {0}
private
util::memory::hp::HazardPointer tervel::Tervel::hazard_pointer_
private
const uint64_t tervel::Tervel::num_threads_
private
util::ProgressAssurance tervel::Tervel::progress_assurance_
private
util::memory::rc::PoolManager tervel::Tervel::rc_pool_manager_
private
friend tervel::Tervel::ThreadContext
private

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