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

#include <push_helper.h>

Inheritance diagram for PushHelper:

Public Member Functions

void init (void *v, PushOp *op)
 
 PushHelper (void *v)
 
 PushHelper (void *v, PushOp *op)
 
bool complete (WFVector *vec, int pos)
 
bool tryFree ()
 
bool watch (void *p, ArrayElement *a)
 
void unwatch ()
 
bool isWatched ()
 
void * readThrough ()
 

Public Attributes

void * value
 
std::atomic< long > pos
 
PushOpcontrolOp
 

Constructor & Destructor Documentation

PushHelper::PushHelper ( void *  v)
inline
PushHelper::PushHelper ( void *  v,
PushOp op 
)
inline

Member Function Documentation

bool PushHelper::complete ( WFVector *  vec,
int  pos 
)
void PushHelper::init ( void *  v,
PushOp op 
)
inline
bool PushHelper::isWatched ( )
inline
void* PushHelper::readThrough ( )
inline
bool PushHelper::tryFree ( )
void PushHelper::unwatch ( )
inline
bool PushHelper::watch ( void *  p,
ArrayElement *  a 
)
inline

Member Data Documentation

PushOp* PushHelper::controlOp
std::atomic<long> PushHelper::pos
void* PushHelper::value

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