thrd_last_action(1),
thrd_last_fence_release(),
priv(new struct model_snapshot_members ()),
- mo_graph(new CycleGraph()),
+ mo_graph(new CycleGraph()),
fuzzer(new Fuzzer()),
thrd_func_list(),
thrd_func_inst_lists(),
case THREADONLY_FINISH:
case THREAD_FINISH: {
Thread *th = get_thread(curr);
- if (curr == THREAD_FINISH &&
+ if (curr->get_type() == THREAD_FINISH &&
th == model->getInitThread()) {
th->complete();
setFinished();