X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=model.h;h=d0043a1f88b1990de8e0fcdee27e21baa387ccd7;hb=a09a4346390cc28a29428ee5a0610b1054aa48ed;hp=01dd35b03752504dc9416543f38588018297adf6;hpb=4546308ab989c074f83d8607e16f13ffbcff494a;p=model-checker.git diff --git a/model.h b/model.h index 01dd35b..d0043a1 100644 --- a/model.h +++ b/model.h @@ -112,6 +112,7 @@ public: const model_params params; Scheduler * get_scheduler() { return scheduler;} + Node * get_curr_node(); MEMALLOC private: @@ -186,6 +187,10 @@ private: * to a trace of all actions performed on the object. */ HashTable *lock_waiters_map; + /** Per-object list of actions. Maps an object (i.e., memory location) + * to a trace of all actions performed on the object. */ + HashTable *condvar_waiters_map; + HashTable, uintptr_t, 4 > *obj_thrd_map; std::vector< Promise *, SnapshotAlloc > *promises; std::vector< struct PendingFutureValue, SnapshotAlloc > *futurevalues;