|
Telamon
|
A class which represents a single operation contained in a OperationRecordBox. More...
#include <OperationHelping.hh>
Classes | |
| struct | Completed |
| Meta data related to CAS which is complete. More... | |
| struct | ExecutingCas |
| Meta data related to CAS which is going to be executed. More... | |
| struct | PostCas |
| Meta data related to CAS which has already been executed. More... | |
| struct | PreCas |
| Meta data related to CAS which is still pending. More... | |
Public Types | |
| using | OperationState = std::variant< PreCas, ExecutingCas, PostCas, Completed > |
Public Member Functions | |
| OperationRecord (int t_owner, OperationState t_state, const typename LockFree::Input &t_input) | |
| OperationRecord (const OperationRecord ©, OperationState t_state) | |
| OperationRecord (OperationRecord &&) noexcept=default | |
| OperationRecord (const OperationRecord &)=default | |
| bool | operator== (const OperationRecord &rhs) const |
| bool | operator!= (const OperationRecord &rhs) const |
| auto | owner () const noexcept -> int |
| auto | state () const noexcept -> OperationState |
| auto | input () const noexcept -> const typename LockFree::Input & |
| void | set_state (const OperationState &t_state) noexcept |
A class which represents a single operation contained in a OperationRecordBox.