Tervel
1.0.0
A collection of wait-free containers and algorithms.
|
#include <insertat_op.h>
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 |
|
inline |
void InsertAt::cleanup | ( | WFVector * | vec, |
int | pos | ||
) |
|
inline |
|
inline |
|
inline |
void * InsertAt::readThrough | ( | ShiftHelper< InsertAt > * | helper | ) |
|
inline |
bool InsertAt::tryFree | ( | ) |
std::atomic<bool> InsertAt::isComplete |
std::atomic<ShiftHelper<InsertAt> *> InsertAt::next |
int InsertAt::pos |
void* InsertAt::rvalue |