initial commit for declaring member functions of Fuzzer as virtual
[c11tester.git] / fuzzer.h
index a6318d04ff941aada044e7a81f757c1185c56ea1..eb6fd4ef35d7d2c05f5838829fac89962f8c23fe 100644 (file)
--- a/fuzzer.h
+++ b/fuzzer.h
@@ -6,11 +6,13 @@
 
 class Fuzzer {
 public:
-  Fuzzer() {}
-  int selectWrite(ModelAction *read, ModelVector<ModelAction *>* rf_set);
-  Thread * selectThread(Node *n, int * threadlist, int numthreads);
-  Thread * selectNotify(action_list_t * waiters);
-  MEMALLOC
+       Fuzzer() {}
+       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);
+       MEMALLOC
 private:
 };
 #endif