From: Martin Quinson Date: Sat, 20 May 2017 21:22:45 +0000 (+0200) Subject: restore (and comment) a test for a feature X-Git-Tag: v3.16~281^2~6 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/b16609ebdc24c811f373a0573870a32d0379b2f0 restore (and comment) a test for a feature --- diff --git a/examples/java/process/kill/Killer.java b/examples/java/process/kill/Killer.java index e03b69c2bc..c82af1d3bd 100644 --- a/examples/java/process/kill/Killer.java +++ b/examples/java/process/kill/Killer.java @@ -35,5 +35,8 @@ public class Killer extends Process { poorVictim.kill(); Msg.info("Ok, goodbye now."); + // The actor can also commit a suicide with the following command + exit(); // This will forcefully stop the current actor + // Of course, it's not useful here at the end of the main function, but that's for the example (and to check that this still works in the automated tests) } }