Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
This commit concerned the reimplementation of the xbt context switch mechanism.
[simgrid.git] / src / java / jmsg.h
index 4454901cf6cff5ec11275a01f6a403dcc91c87dd..2dbd5f2d3b88d6b3aba766c81d64c73e64f5d1cf 100644 (file)
 
 #include <jni.h>
 
-int
-is_main_thread(void);
+JavaVM *
+get_java_VM(void);
+
+JNIEnv *
+get_current_thread_env(void);
 
 /*
  * Class               simgrid_msg_Msg
@@ -26,6 +29,8 @@ is_main_thread(void);
 JNIEXPORT void JNICALL 
 Java_simgrid_msg_Msg_processCreate(JNIEnv* env,jclass cls,jobject jprocess,jobject jhost);
 
+
+
 /*
  * Class               simgrid_msg_Msg
  * Method              processSuspend
@@ -454,4 +459,8 @@ Java_simgrid_msg_Msg_createEnvironment(JNIEnv* env, jclass cls,jstring jplatform
 JNIEXPORT void JNICALL 
 Java_simgrid_msg_Msg_platformLoad(JNIEnv* env, jclass cls, jobject jplatform);
 
+
+JNIEXPORT void JNICALL 
+Java_simgrid_msg_Msg_selectContextFactory(JNIEnv *, jclass, jstring);
+
 #endif /* !MSG4JAVA_H */