Tervel  1.0.0
A collection of wait-free containers and algorithms.
Classes | Namespaces | Functions | Variables
pool_element.h File Reference
#include <tervel/util/info.h>
#include <tervel/util/util.h>
#include <tervel/util/system.h>
#include <tervel/util/descriptor.h>

Go to the source code of this file.

Classes

class  tervel::util::memory::rc::PoolElement
 This class is used to hold the memory management information (Header) and a descriptor object. More...
 
struct  tervel::util::memory::rc::PoolElement::Header
 All the member variables of PoolElement are stored in a struct so that the left over memory for cache padding can be easily calculated. More...
 

Namespaces

 tervel
 TODO(steven):
 
 tervel::util
 
 tervel::util::memory
 
 tervel::util::memory::rc
 

Functions

PoolElement * tervel::util::memory::rc::get_elem_from_descriptor (tervel::util::Descriptor *descr)
 If the given descriptor was allocated through a DescriptorPool, then it has an associated PoolElement header. More...
 

Variables

const long tervel::util::memory::rc::DEBUG_EXPECTED_STAMP = 0xDEADBEEF