projects
/
c11tester.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
model: release/acquire synchronization
[c11tester.git]
/
model.h
diff --git
a/model.h
b/model.h
index 4ea55903dde4ae3b595ca5a653c22415b50f320a..fbf1b3f0909ff3fd67fbb10e905d1c0b7ff9003b 100644
(file)
--- a/
model.h
+++ b/
model.h
@@
-30,7
+30,7
@@
public:
~ModelChecker();
/** The scheduler to use: tracks the running/ready Threads */
~ModelChecker();
/** The scheduler to use: tracks the running/ready Threads */
-
class
Scheduler *scheduler;
+ Scheduler *scheduler;
/** Stores the context for the main model-checking system thread (call
* once)
/** Stores the context for the main model-checking system thread (call
* once)
@@
-88,10
+88,10
@@
private:
ucontext_t *system_context;
action_list_t *action_trace;
ucontext_t *system_context;
action_list_t *action_trace;
- std::map<int,
class
Thread *> *thread_map;
+ std::map<int, Thread *> *thread_map;
std::map<void *, std::vector<action_list_t> > *obj_thrd_map;
std::vector<ModelAction *> *thrd_last_action;
std::map<void *, std::vector<action_list_t> > *obj_thrd_map;
std::vector<ModelAction *> *thrd_last_action;
-
class
NodeStack *node_stack;
+ NodeStack *node_stack;
ModelAction *next_backtrack;
};
ModelAction *next_backtrack;
};