Tervel  1.0.0
A collection of wait-free containers and algorithms.
Public Member Functions | Public Attributes | List of all members
EraseAt< T > Class Template Reference

#include <earaseat_op.h>

Inheritance diagram for EraseAt< T >:

Public Member Functions

 EraseAt (const Vector *vector, const size_t idx)
 
bool begin (const T &result)
 
void execute ()
 
void cleanup ()
 
bool complete (int pos)
 
bool is_complete ()
 

Public Attributes

const size_t idx_
 
const Vector< T > * vector_
 
std::atomic< bool > is_complete_
 
std::atomic< helper_t * > next_
 

Constructor & Destructor Documentation

template<class T >
EraseAt< T >::EraseAt ( const Vector *  vector,
const size_t  idx 
)
inline

Member Function Documentation

template<class T >
bool EraseAt< T >::begin ( const T &  result)
inline
template<class T >
void EraseAt< T >::cleanup ( )
template<class T >
bool EraseAt< T >::complete ( int  pos)
inline
template<class T >
void EraseAt< T >::execute ( )
inline
template<class T >
bool EraseAt< T >::is_complete ( )
inline

Member Data Documentation

template<class T >
const size_t EraseAt< T >::idx_
template<class T >
std::atomic<bool> EraseAt< T >::is_complete_
template<class T >
std::atomic<helper_t *> EraseAt< T >::next_
template<class T >
const Vector<T>* EraseAt< T >::vector_

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