some edits to NewFuzzer
[c11tester.git] / fuzzer.h
index 572190e1b35bc4df9437836f96e62667a2dfdf5b..d291268610721b918e48f2e7eea296a302e81479 100644 (file)
--- a/fuzzer.h
+++ b/fuzzer.h
@@ -7,9 +7,12 @@
 class Fuzzer {
 public:
        Fuzzer() {}
-       int selectWrite(ModelAction *read, SnapVector<ModelAction *>* rf_set);
+       virtual int selectWrite(ModelAction *read, SnapVector<ModelAction *>* rf_set);
        Thread * selectThread(int * threadlist, int numthreads);
        Thread * selectNotify(action_list_t * waiters);
+       bool shouldSleep(const ModelAction *sleep);
+       bool shouldWake(const ModelAction *sleep);
+       virtual void register_engine(ModelHistory * history, ModelExecution * execution) {}
        MEMALLOC
 private:
 };