Package org.simgrid
Class NativeLib
- java.lang.Object
-
- org.simgrid.NativeLib
-
public final class NativeLib extends java.lang.ObjectHelper class loading the native functions of SimGrid that we use for downcalls Almost all org.simgrid.msg.* classes contain a static bloc (thus executed when the class is loaded) containing a call to this.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidmain(java.lang.String[] args)Hidden debug main() function It is not the Main-Class defined in src/bindings/java/MANIFEST.in (org.simgrid.msg.Msg is), so it won't get executed by default.static voidnativeInit()Main function loading all the native classes that we needstatic voidnativeInit(java.lang.String name)Helper function trying to load one requested library
-
-
-
Method Detail
-
main
public static void main(java.lang.String[] args)
Hidden debug main() function It is not the Main-Class defined in src/bindings/java/MANIFEST.in (org.simgrid.msg.Msg is), so it won't get executed by default. But that's helpful to debug linkage errors, if you know that it exists. It's used by cmake during the configure, to inform the user.
-
nativeInit
public static void nativeInit()
Main function loading all the native classes that we need
-
nativeInit
public static void nativeInit(java.lang.String name)
Helper function trying to load one requested library
-
-