X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=model.cc;h=e394865e26c01d75b05853a55a4b2b7a23c3e853;hb=20a4630cb01dc613d138d29a4b03a424bf1fd74d;hp=c0cc93eb0a80523eefc48f2fe7ec3c8119d8619c;hpb=075d78a2e09fd11b8b78b6c7b3852a42a279c4f2;p=model-checker.git diff --git a/model.cc b/model.cc index c0cc93e..e394865 100644 --- a/model.cc +++ b/model.cc @@ -767,10 +767,9 @@ Thread * ModelChecker::check_current_action(ModelAction *curr) return get_next_thread(NULL); } - wake_up_sleeping_actions(curr); - ModelAction *newcurr = initialize_curr_action(curr); + wake_up_sleeping_actions(curr); /* Add the action to lists before any other model-checking tasks */ if (!second_part_of_rmw)