X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=promise.h;h=90ec1d2050bc650b714eebe8f64f5aabde0de7e0;hb=5ea8e3d5d861ed363e5ac5f3b20b8181dd197efb;hp=0adc3de1aabb47d9d8df7a007d59eb09f391a257;hpb=b2f34d7f1d030f414786ea0b1a5709dcac604c7b;p=model-checker.git diff --git a/promise.h b/promise.h index 0adc3de..90ec1d2 100644 --- a/promise.h +++ b/promise.h @@ -8,10 +8,10 @@ #define __PROMISE_H__ #include -#include #include "modeltypes.h" #include "mymemory.h" +#include "stl-model.h" class ModelAction; @@ -52,14 +52,14 @@ class Promise { private: /** @brief Thread ID(s) for thread(s) that potentially can satisfy this * promise */ - std::vector< bool, SnapshotAlloc > available_thread; + SnapVector available_thread; int num_available_threads; const future_value fv; /** @brief The action(s) which read the promised future value */ - std::vector< ModelAction *, SnapshotAlloc > readers; + SnapVector readers; const ModelAction *write; };