X-Git-Url: http://plrg.eecs.uci.edu/git/?p=c11tester.git;a=blobdiff_plain;f=action.h;h=66e119066cc88c80d26c49448750644f1f882106;hp=1658a83d3e85e7a79f5ba6ad4655b3f3f30f5d85;hb=938f4f938086a967e9cd101ecca164003f33f03c;hpb=1b2222d691a55eb20b39d3804c71aca19f5577bf diff --git a/action.h b/action.h index 1658a83d..66e11906 100644 --- a/action.h +++ b/action.h @@ -102,6 +102,7 @@ public: thread_id_t get_tid() const { return tid; } action_type get_type() const { return type; } + void set_type(action_type _type) { type = _type; } void set_free() { type = READY_FREE; } memory_order get_mo() const { return order; } memory_order get_original_mo() const { return original_order; }