X-Git-Url: http://plrg.eecs.uci.edu/git/?p=c11tester.git;a=blobdiff_plain;f=fuzzer.h;h=0fcfb51f67e66ff9ee439f9b48c1bd860838cbfa;hp=d31c22673a4aab928a614075490e79b1362dd9cf;hb=251ac4b4bf3a9f2d3cfacc1e6618200ca1c431ac;hpb=53601c28881fb6637665178ccefceafbd44cf019 diff --git a/fuzzer.h b/fuzzer.h index d31c2267..0fcfb51f 100644 --- a/fuzzer.h +++ b/fuzzer.h @@ -10,15 +10,13 @@ public: Fuzzer() {} virtual int selectWrite(ModelAction *read, SnapVector* rf_set); virtual bool has_paused_threads() { return false; } - virtual void notify_paused_thread(Thread * thread) = 0; 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) = 0; - virtual void register_engine(ModelHistory * history, ModelExecution * execution) = 0; - virtual Predicate * get_selected_child_branch(thread_id_t tid) = 0; + virtual bool shouldWait(const ModelAction *wait); + virtual void register_engine(ModelChecker * _model, ModelExecution * execution) {} SNAPSHOTALLOC private: };