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
actually kill models' names
[simgrid.git]
/
src
/
bindings
/
java
/
smx_context_cojava.c
diff --git
a/src/bindings/java/smx_context_cojava.c
b/src/bindings/java/smx_context_cojava.c
index
3503536
..
bfafcb4
100644
(file)
--- a/
src/bindings/java/smx_context_cojava.c
+++ b/
src/bindings/java/smx_context_cojava.c
@@
-180,7
+180,8
@@
void smx_ctx_cojava_stop(smx_context_t context)
if (context->iwannadie) {
context->iwannadie = 0;
JNIEnv *env = get_current_thread_env();
if (context->iwannadie) {
context->iwannadie = 0;
JNIEnv *env = get_current_thread_env();
- jxbt_throw_by_name(env, "org/simgrid/msg/ProcessKilledError", xbt_strdup("Process killed :)"));
+ // TODO it will be nice to have the name of the process to help the end-user to know which Process has been killed
+ jxbt_throw_by_name(env, "org/simgrid/msg/ProcessKilledError", xbt_strdup("Process killed :) (file smx_context_cojava.c)"));
THROWF(cancel_error, 0, "process cancelled");
}
else {
THROWF(cancel_error, 0, "process cancelled");
}
else {