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
/
jmsg_synchro.c
diff --git
a/src/bindings/java/jmsg_synchro.c
b/src/bindings/java/jmsg_synchro.c
index
cea6030
..
feaeac1
100644
(file)
--- a/
src/bindings/java/jmsg_synchro.c
+++ b/
src/bindings/java/jmsg_synchro.c
@@
-1,9
+1,10
@@
/* Functions exporting the simgrid synchronization mechanisms to the Java world */
/* Functions exporting the simgrid synchronization mechanisms to the Java world */
-/* Copyright (c) 2012. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2012-2014. The SimGrid Team.
+ * All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
/* This program is free software; you can redistribute it and/or modify it
-
* under the terms of the license (GNU LGPL) which comes with this package.
*/
+
* under the terms of the license (GNU LGPL) which comes with this package.
*/
#include "jmsg.h"
#include "xbt/synchro_core.h"
#include "jmsg.h"
#include "xbt/synchro_core.h"
@@
-51,7
+52,7
@@
Java_org_simgrid_msg_Mutex_release(JNIEnv * env, jobject obj) {
}
JNIEXPORT void JNICALL
}
JNIEXPORT void JNICALL
-Java_org_simgrid_msg_Mutex_
exit
(JNIEnv * env, jobject obj) {
+Java_org_simgrid_msg_Mutex_
nativeFinalize
(JNIEnv * env, jobject obj) {
xbt_mutex_t mutex;
mutex = (xbt_mutex_t) (long) (*env)->GetLongField(env, obj, jsyncro_field_Mutex_bind);
xbt_mutex_t mutex;
mutex = (xbt_mutex_t) (long) (*env)->GetLongField(env, obj, jsyncro_field_Mutex_bind);
@@
-103,7
+104,7
@@
Java_org_simgrid_msg_Semaphore_wouldBlock(JNIEnv * env, jobject obj) {
}
JNIEXPORT void JNICALL
}
JNIEXPORT void JNICALL
-Java_org_simgrid_msg_
Mutex_destroy
(JNIEnv * env, jobject obj) {
+Java_org_simgrid_msg_
Semaphore_nativeFinalize
(JNIEnv * env, jobject obj) {
msg_sem_t sem;
sem = (msg_sem_t) (long) (*env)->GetLongField(env, obj, jsyncro_field_Semaphore_bind);
msg_sem_t sem;
sem = (msg_sem_t) (long) (*env)->GetLongField(env, obj, jsyncro_field_Semaphore_bind);