found the bug
authorBrian Demsky <bdemsky@uci.edu>
Thu, 1 Nov 2012 23:50:19 +0000 (16:50 -0700)
committerBrian Demsky <bdemsky@uci.edu>
Thu, 1 Nov 2012 23:50:19 +0000 (16:50 -0700)
model.cc

index f320b8f..775b796 100644 (file)
--- a/model.cc
+++ b/model.cc
@@ -856,7 +856,7 @@ Thread * ModelChecker::check_current_action(ModelAction *curr)
 
        ModelAction *newcurr = initialize_curr_action(curr);
 
-       wake_up_sleeping_actions(curr);
+       wake_up_sleeping_actions(newcurr);
 
        /* Add the action to lists before any other model-checking tasks */
        if (!second_part_of_rmw)