using std::memory_order_seq_cst;
/** Note that this value can be legitimately used by a program, and
using std::memory_order_seq_cst;
/** Note that this value can be legitimately used by a program, and
THREAD_YIELD, /**< A thread yield action */
THREAD_JOIN, /**< A thread join action */
THREAD_FINISH, /**< A thread completion action */
THREAD_YIELD, /**< A thread yield action */
THREAD_JOIN, /**< A thread join action */
THREAD_FINISH, /**< A thread completion action */
ATOMIC_READ, /**< An atomic read action */
ATOMIC_WRITE, /**< An atomic write action */
ATOMIC_RMWR, /**< The read part of an atomic RMW action */
ATOMIC_READ, /**< An atomic read action */
ATOMIC_WRITE, /**< An atomic write action */
ATOMIC_RMWR, /**< The read part of an atomic RMW action */
modelclock_t get_seq_number() const { return seq_number; }
uint64_t get_value() const { return value; }
const ModelAction * get_reads_from() const { return reads_from; }
modelclock_t get_seq_number() const { return seq_number; }
uint64_t get_value() const { return value; }
const ModelAction * get_reads_from() const { return reads_from; }
/** Store the most recent fence-release from the same thread
* @param fence The fence-release that occured prior to this */
/** Store the most recent fence-release from the same thread
* @param fence The fence-release that occured prior to this */
bool is_notify_one() const;
bool is_success_lock() const;
bool is_failed_trylock() const;
bool is_notify_one() const;
bool is_success_lock() const;
bool is_failed_trylock() const;
bool is_conflicting_lock(const ModelAction *act) const;
bool could_synchronize_with(const ModelAction *act) const;
bool is_conflicting_lock(const ModelAction *act) const;
bool could_synchronize_with(const ModelAction *act) const;
void create_cv(const ModelAction *parent = NULL);
ClockVector * get_cv() const { return cv; }
bool synchronize_with(const ModelAction *act);
void create_cv(const ModelAction *parent = NULL);
ClockVector * get_cv() const { return cv; }
bool synchronize_with(const ModelAction *act);