Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add cache on jmsg_syncro.c/Mutex.java
[simgrid.git] / org / simgrid / msg / Mutex.java
index 5f88151..b88e4d2 100644 (file)
@@ -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();
+       }       
 }
+
+