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
Add cache on jmsg_syncro.c/Mutex.java
[simgrid.git]
/
org
/
simgrid
/
msg
/
Mutex.java
diff --git
a/org/simgrid/msg/Mutex.java
b/org/simgrid/msg/Mutex.java
index
5f88151
..
b88e4d2
100644
(file)
--- a/
org/simgrid/msg/Mutex.java
+++ b/
org/simgrid/msg/Mutex.java
@@
-24,4
+24,13
@@
public class Mutex {
public native void acquire();
public native void release();
+ /**
+ * Class initializer, to initialize various JNI stuff
+ */
+ public static native void nativeInit();
+ static {
+ nativeInit();
+ }
}
+
+