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

#include <insertat_op.h>

Inheritance diagram for InsertAt:

Public Member Functions

void init (int p, void *v)
 
 InsertAt (int p, void *v)
 
void execute (WFVector *vec)
 
bool s_execute (WFVector *vec)
 
void cleanup (WFVector *vec, int pos)
 
bool complete (WFVector *vec, int pos)
 
bool tryFree ()
 
void * readThrough (ShiftHelper< InsertAt > *helper)
 

Public Attributes

void * rvalue
 
int pos
 
std::atomic< ShiftHelper< InsertAt > * > next
 
std::atomic< bool > isComplete
 

Constructor & Destructor Documentation

InsertAt::InsertAt ( int  p,
void *  v 
)
inline

Member Function Documentation

void InsertAt::cleanup ( WFVector *  vec,
int  pos 
)
bool InsertAt::complete ( WFVector *  vec,
int  pos 
)
inline
void InsertAt::execute ( WFVector *  vec)
inline
void InsertAt::init ( int  p,
void *  v 
)
inline
void * InsertAt::readThrough ( ShiftHelper< InsertAt > *  helper)
bool InsertAt::s_execute ( WFVector *  vec)
inline
bool InsertAt::tryFree ( )

Member Data Documentation

std::atomic<bool> InsertAt::isComplete
std::atomic<ShiftHelper<InsertAt> *> InsertAt::next
int InsertAt::pos
void* InsertAt::rvalue

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