projects
/
model-checker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mymemory: define SNAPSHOTALLOC appropriately
[model-checker.git]
/
action.h
diff --git
a/action.h
b/action.h
index fecef4dbf3043ac920d5fb09efef85ffb8d6e863..f6fb06236fe0230eb942c38dcc177c081db341bd 100644
(file)
--- a/
action.h
+++ b/
action.h
@@
-64,7
+64,7
@@
class ModelAction {
public:
ModelAction(action_type_t type, memory_order order, void *loc, uint64_t value = VALUE_NONE);
~ModelAction();
public:
ModelAction(action_type_t type, memory_order order, void *loc, uint64_t value = VALUE_NONE);
~ModelAction();
- void print(
void
) const;
+ void print(
bool print_cv = true
) const;
thread_id_t get_tid() const { return tid; }
action_type get_type() const { return type; }
thread_id_t get_tid() const { return tid; }
action_type get_type() const { return type; }
@@
-78,6
+78,7
@@
public:
void set_node(Node *n) { node = n; }
void copy_from_new(ModelAction *newaction);
void set_node(Node *n) { node = n; }
void copy_from_new(ModelAction *newaction);
+ void set_seq_number(modelclock_t num);
void set_try_lock(bool obtainedlock);
bool is_mutex_op() const;
bool is_lock() const;
void set_try_lock(bool obtainedlock);
bool is_mutex_op() const;
bool is_lock() const;