X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=promise.h;h=90ec1d2050bc650b714eebe8f64f5aabde0de7e0;hb=d21164220a0d87ae931bf50d0e97ebf838742659;hp=0adc3de1aabb47d9d8df7a007d59eb09f391a257;hpb=875ebf8e11b4bdd702604785837b6b91b748900d;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; };