Implement spurious wakeup for ATOMIC_WAIT
[c11tester.git] / fuzzer.h
index 0fcfb51f67e66ff9ee439f9b48c1bd860838cbfa..e3cd445b789a1288ffb040613096c39b1c688448 100644 (file)
--- a/fuzzer.h
+++ b/fuzzer.h
@@ -15,7 +15,8 @@ public:
        Thread * selectNotify(simple_action_list_t * waiters);
        bool shouldSleep(const ModelAction *sleep);
        bool shouldWake(const ModelAction *sleep);
-       virtual bool shouldWait(const ModelAction *wait);
+       virtual bool waitShouldFail(ModelAction *wait);
+       bool waitShouldWakeUp(const ModelAction *wait);
        virtual void register_engine(ModelChecker * _model, ModelExecution * execution) {}
        SNAPSHOTALLOC
 private: