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
Process kills now seems to work. May need some additional checking ...
[simgrid.git]
/
examples
/
master_slave_kill
/
Master.java
diff --git
a/examples/master_slave_kill/Master.java
b/examples/master_slave_kill/Master.java
index
f9d16a3
..
e3dc16e
100644
(file)
--- a/
examples/master_slave_kill/Master.java
+++ b/
examples/master_slave_kill/Master.java
@@
-41,12
+41,8
@@
public class Master extends Process {
}
}
-// FinalizeTask task = new FinalizeTask();
-// Msg.info("Send Mail2!");
-// task.send("mail2");
-
- Process.waitFor(10);
Process.kill(process2);
-
+
+ Msg.info("Process2 is now killed, should exit now");
}
}