projects
/
c11tester.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update readme
[c11tester.git]
/
fuzzer.h
diff --git
a/fuzzer.h
b/fuzzer.h
index 14dff6e023ddbbf174f1a129378bee7a55b72f55..65210e09ae8e147693d3b5300e4c5db3ff766cc6 100644
(file)
--- a/
fuzzer.h
+++ b/
fuzzer.h
@@
-12,10
+12,12
@@
public:
virtual bool has_paused_threads() { return false; }
virtual Thread * selectThread(int * threadlist, int numthreads);
virtual bool has_paused_threads() { return false; }
virtual Thread * selectThread(int * threadlist, int numthreads);
- Thread * selectNotify(action_list_t * waiters);
+ Thread * selectNotify(
simple_
action_list_t * waiters);
bool shouldSleep(const ModelAction *sleep);
bool shouldWake(const ModelAction *sleep);
bool shouldSleep(const ModelAction *sleep);
bool shouldWake(const ModelAction *sleep);
- virtual bool shouldWait(const ModelAction *wait);
+ virtual bool waitShouldFail(ModelAction *wait);
+ bool waitShouldWakeUp(const ModelAction *wait);
+ bool randomizeWaitTime(ModelAction * timed_wait);
virtual void register_engine(ModelChecker * _model, ModelExecution * execution) {}
SNAPSHOTALLOC
private:
virtual void register_engine(ModelChecker * _model, ModelExecution * execution) {}
SNAPSHOTALLOC
private: