A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Bugfix in Mutex class. Forgot the deployment file in masterslave
[simgrid.git]
/
examples
/
suspend
/
LazyGuy.java
diff --git
a/examples/suspend/LazyGuy.java
b/examples/suspend/LazyGuy.java
index
cb7c722
..
0904636
100644
(file)
--- a/
examples/suspend/LazyGuy.java
+++ b/
examples/suspend/LazyGuy.java
@@
-10,7
+10,7
@@
public class LazyGuy extends Process {
}
public void main(String[] args) throws MsgException {
Msg.info("Nobody's watching me ? Let's go to sleep.");
-
pause
();
+
suspend
();
Msg.info("Uuuh ? Did somebody call me ?");
Msg.info("Mmmh, goodbye now.");
}