Telamon
Public Member Functions | List of all members
telamon_simulator::OperationRecordBox< LockFree > Class Template Reference

A class which represents a single operation stored in the help queue. More...

#include <OperationHelping.hh>

Public Member Functions

 OperationRecordBox (int t_owner, typename OperationRecord< LockFree >::OperationState t_state, const typename LockFree::Input &t_input)
 
 OperationRecordBox (OperationRecordBox &&rhs) noexcept
 
 OperationRecordBox (const OperationRecordBox &rhs) noexcept
 
bool operator== (const OperationRecordBox &rhs) const
 
bool operator!= (const OperationRecordBox &rhs) const
 
auto state () const noexcept -> typename OperationRecord< LockFree >::OperationState
 
auto ptr () const noexcept -> OperationRecord< LockFree > *
 
auto atomic_ptr () noexcept -> std::atomic< OperationRecord< LockFree > * > &
 
auto nonatomic_ptr () const noexcept -> OperationRecord< LockFree > *
 
auto swap (OperationRecordBox desired, OperationRecordBox *expected_ptr) -> bool
 Atomically swaps the pointer m_ptr with pointer the given box record.
 

Detailed Description

template<typename LockFree>
class telamon_simulator::OperationRecordBox< LockFree >

A class which represents a single operation stored in the help queue.


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