Implement spurious wakeup for ATOMIC_WAIT
[c11tester.git] / action.h
index fbf566fb7a8f61497284c6ab1e826dd39b0f44e0..6dea9bc0d61555c7ad017e00f30b4fcb9af58ad9 100644 (file)
--- a/action.h
+++ b/action.h
@@ -116,7 +116,8 @@ public:
        uint64_t get_write_value() const;
        uint64_t get_return_value() const;
        ModelAction * get_reads_from() const { return reads_from; }
-       uint64_t get_time() const {return time;}
+       uint64_t get_time() const { return time; }
+       void set_time(uint64_t _time) { time = _time; }
        cdsc::mutex * get_mutex() const;
 
        void set_read_from(ModelAction *act);