X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=fuzzer.h;h=65210e09ae8e147693d3b5300e4c5db3ff766cc6;hb=HEAD;hp=b0f533d2d622d70e6feb6091feed5c4be1b50f69;hpb=236e7f6ba12d26eb02a1348858168ed939bcfa0a;p=c11tester.git diff --git a/fuzzer.h b/fuzzer.h index b0f533d2..65210e09 100644 --- a/fuzzer.h +++ b/fuzzer.h @@ -12,11 +12,13 @@ public: 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); - virtual bool shouldWait(const ModelAction *wait); - virtual void register_engine(ModelExecution * execution) {} + 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: };