Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Bugfix in Mutex class. Forgot the deployment file in masterslave
[simgrid.git] / examples / suspend / DreamMaster.java
index 2f1efe5..f3bb90d 100644 (file)
@@ -15,7 +15,7 @@ public class DreamMaster extends Process {
                Msg.info("Let's wait a little bit...");
                waitFor(10);
                Msg.info("Let's wake the lazy guy up! >:) BOOOOOUUUHHH!!!!");
-               lazyGuy.restart();
+               lazyGuy.resume();
                Msg.info("OK, goodbye now.");
        }
 }
\ No newline at end of file