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 Java Cloud API. Bugfix in the associated example. Add a tesh file for the...
[simgrid.git]
/
src
/
jmsg_vm.c
diff --git
a/src/jmsg_vm.c
b/src/jmsg_vm.c
index
1615e42
..
3f0945e
100644
(file)
--- a/
src/jmsg_vm.c
+++ b/
src/jmsg_vm.c
@@
-84,3
+84,9
@@
Java_org_simgrid_msg_VM_resume(JNIEnv *env, jobject jvm) {
MSG_vm_resume(vm);
}
+JNIEXPORT void JNICALL
+Java_org_simgrid_msg_VM_shutdown(JNIEnv *env, jobject jvm) {
+ msg_vm_t vm = jvm_get_native(env,jvm);
+
+ MSG_vm_shutdown(vm);
+}