Thread * get_thread(thread_id_t tid) { return (*thread_map)[id_to_int(tid)]; }
thread_id_t get_next_id();
+ int get_num_threads();
int get_next_seq_num();
int switch_to_master(ModelAction *act);
ModelAction * get_next_backtrack();
void reset_to_initial_state();
+ ModelAction * get_last_action(thread_id_t tid);
+
void print_list(action_list_t *list);
ModelAction *current_action;
ucontext_t *system_context;
action_list_t *action_trace;
std::map<int, class Thread *> *thread_map;
+ std::map<void *, std::vector<action_list_t> > *obj_thrd_map;
+ std::vector<ModelAction *> *thrd_last_action;
class NodeStack *node_stack;
ModelAction *next_backtrack;
};