Tervel
1.0.0
A collection of wait-free containers and algorithms.
|
Thread local information. More...
#include <thread_context.h>
Public Member Functions | |
ThreadContext (Tervel *tervel) | |
~ThreadContext () | |
util::memory::hp::HazardPointer *const | get_hazard_pointer () |
util::ProgressAssurance *const | get_progress_assurance () |
util::memory::hp::ElementList *const | get_hp_element_list () |
util::memory::rc::DescriptorPool *const | get_rc_descriptor_pool () |
const uint64_t | get_thread_id () |
A unique ID among all active threads. More... | |
const uint64_t | get_num_threads () |
Private Member Functions | |
DISALLOW_COPY_AND_ASSIGN (ThreadContext) | |
Private Attributes | |
Tervel *const | tervel_ |
Tervel provides a link to the shared Tervel object. More... | |
const uint64_t | thread_id_ |
util::memory::hp::ElementList *const | hp_element_list_ |
util::memory::rc::DescriptorPool *const | rc_descriptor_pool_ |
Thread local information.
Each thread should have an instance of this.
|
explicit |
tervel::ThreadContext::~ThreadContext | ( | ) |
|
private |
util::memory::hp::HazardPointer* const tervel::ThreadContext::get_hazard_pointer | ( | ) |
util::memory::hp::ElementList* const tervel::ThreadContext::get_hp_element_list | ( | ) |
const uint64_t tervel::ThreadContext::get_num_threads | ( | ) |
util::ProgressAssurance* const tervel::ThreadContext::get_progress_assurance | ( | ) |
util::memory::rc::DescriptorPool* const tervel::ThreadContext::get_rc_descriptor_pool | ( | ) |
const uint64_t tervel::ThreadContext::get_thread_id | ( | ) |
A unique ID among all active threads.
|
private |
|
private |
|
private |
|
private |