projects
/
model-checker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
action: add Thread parameter to constructor
[model-checker.git]
/
action.h
diff --git
a/action.h
b/action.h
index dfe2102d47b4ced0879f25509fd7ef1f7c7850f5..65b060f6c1941b33720a3f9b572a9f2e7c0c8e31 100644
(file)
--- a/
action.h
+++ b/
action.h
@@
-14,6
+14,7
@@
#include "modeltypes.h"
class ClockVector;
#include "modeltypes.h"
class ClockVector;
+class Thread;
using std::memory_order;
using std::memory_order_relaxed;
using std::memory_order;
using std::memory_order_relaxed;
@@
-66,7
+67,7
@@
class ClockVector;
*/
class ModelAction {
public:
*/
class ModelAction {
public:
- ModelAction(action_type_t type, memory_order order, void *loc, uint64_t value = VALUE_NONE);
+ ModelAction(action_type_t type, memory_order order, void *loc, uint64_t value = VALUE_NONE
, Thread *thread = NULL
);
~ModelAction();
void print() const;
~ModelAction();
void print() const;