projects
/
c11tester.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add consume to run
[c11tester.git]
/
model.h
diff --git
a/model.h
b/model.h
index 503b225d23569b4acc8a9b8564ab80c9537c621c..b98e7505a4bc21664384c930392b7b1a9b2b2c47 100644
(file)
--- a/
model.h
+++ b/
model.h
@@
-55,12
+55,15
@@
public:
uint64_t switch_to_master(ModelAction *act);
uint64_t switch_thread(ModelAction *act);
uint64_t switch_to_master(ModelAction *act);
uint64_t switch_thread(ModelAction *act);
- void continueExecution(Thread *old);
- void finishExecution(Thread *old);
+ void continueRunExecution(Thread *old);
+ void startRunExecution(ucontext_t *old);
+ void finishRunExecution(Thread *old);
+ void finishRunExecution(ucontext_t *old);
void consumeAction();
void chooseThread(ModelAction *act, Thread *thr);
Thread * getNextThread();
void handleChosenThread(Thread *old);
void consumeAction();
void chooseThread(ModelAction *act, Thread *thr);
Thread * getNextThread();
void handleChosenThread(Thread *old);
+ void handleChosenThread(ucontext_t *old);
void handleNewValidThread(Thread *old, Thread *next);
void assert_bug(const char *msg, ...);
void handleNewValidThread(Thread *old, Thread *next);
void assert_bug(const char *msg, ...);