X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=promise.h;h=ea40df0112b183b515258877af1ce20cb606b30d;hb=3effbe640f5f299e97c5154b418c58cb809aee6d;hp=2ce3e297305125baa0a057da571cf266965b916e;hpb=c832cb55af09e735821ae3463bc37c29d3fa27c8;p=model-checker.git diff --git a/promise.h b/promise.h index 2ce3e29..ea40df0 100644 --- a/promise.h +++ b/promise.h @@ -8,7 +8,7 @@ #define __PROMISE_H__ #include -#include "threads.h" +#include "threads-model.h" #include "model.h" @@ -31,6 +31,7 @@ class Promise { return synced_thread[id]; } + bool check_promise(); uint64_t get_value() const { return value; } void set_write(const ModelAction *act) { write = act; } const ModelAction * get_write() { return write; }