Modify the implementation of wait and timed wait operation
[c11tester.git] / fuzzer.h
index 29d31edaac7456412c7269c3c6a891ee895b5697..64875f2d4518935ae49dbf38d5e254e2fcdc1cf0 100644 (file)
--- a/fuzzer.h
+++ b/fuzzer.h
@@ -15,6 +15,7 @@ public:
        Thread * selectNotify(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;
        SNAPSHOTALLOC
 private: