promise: rename check_promise() -> has_failed()
[model-checker.git] / promise.h
index 8a0ac590665e4454b22017ab516b5aad27c1f730..f30779c2131babfe0eb60038667f98cd5c73e2b2 100644 (file)
--- a/promise.h
+++ b/promise.h
@@ -39,7 +39,7 @@ class Promise {
                return synced_thread[id];
        }
 
-       bool check_promise() const;
+       bool has_failed() const;
        uint64_t get_value() const { return value; }
        void set_write(const ModelAction *act) { write = act; }
        const ModelAction * get_write() { return write; }