Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Lots of renamings from xbt_ to smx_
[simgrid.git] / src / simix / smx_context_java.h
diff --git a/src/simix/smx_context_java.h b/src/simix/smx_context_java.h
new file mode 100644 (file)
index 0000000..7c75315
--- /dev/null
@@ -0,0 +1,20 @@
+#ifndef _XBT_CONTEXT_JAVA_H
+#define _XBT_CONTEXT_JAVA_H
+
+#include "portable.h"
+#include "xbt/misc.h"
+
+#include "xbt/xbt_context_private.h"
+#include "java/jmsg.h"
+#include "java/jmsg_process.h"
+
+SG_BEGIN_DECL()
+
+     typedef struct s_xbt_ctx_java {
+       XBT_CTX_BASE_T;
+       jobject jprocess;        /* the java process instance binded with the msg process structure                                                      */
+       JNIEnv *jenv;            /* jni interface pointer associated to this thread                                                                                      */
+     } s_xbt_ctx_java_t, *xbt_ctx_java_t;
+
+SG_END_DECL()
+#endif /* !_XBT_CONTEXT_JAVA_H */