public:
Fuzzer() {}
virtual int selectWrite(ModelAction *read, SnapVector<ModelAction *>* rf_set);
- virtual Predicate * get_selected_child_branch(thread_id_t tid) = 0;
- Thread * selectThread(int * threadlist, int numthreads);
- Thread * selectNotify(action_list_t * waiters);
+ virtual bool has_paused_threads() { return false; }
+ virtual Thread * selectThread(int * threadlist, int numthreads);
+
+ Thread * selectNotify(simple_action_list_t * waiters);
bool shouldSleep(const ModelAction *sleep);
bool shouldWake(const ModelAction *sleep);
- virtual void register_engine(ModelHistory * history, ModelExecution * execution) = 0;
+ virtual bool shouldWait(const ModelAction *wait);
+ virtual void register_engine(ModelChecker * _model, ModelExecution * execution) {}
SNAPSHOTALLOC
private:
};