10 typedef enum action_type {
18 /* Forward declaration */
23 ModelAction(action_type_t type, memory_order order, void *loc, int value);
26 thread_id_t get_tid() { return tid; }
27 action_type get_type() { return type; }
28 memory_order get_mo() { return order; }
29 void * get_location() { return location; }
30 int get_seq_number() { return seq_number; }
32 TreeNode * get_node() { return node; }
33 void set_node(TreeNode *n) { node = n; }
39 bool same_var(ModelAction *act);
40 bool same_thread(ModelAction *act);
41 bool is_dependent(ModelAction *act);
53 typedef std::list<class ModelAction *, MyAlloc< class ModelAction * > > action_list_t;
55 #endif /* __ACTION_H__ */