Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
5e8e8ab7ab0a1992e7c9e1788208a39fbaec81ff
[simgrid.git] / src / simix / smx_context_java.h
1 #ifndef _XBT_CONTEXT_JAVA_H
2 #define _XBT_CONTEXT_JAVA_H
3
4 #include "portable.h"
5 #include "xbt/misc.h"
6
7 #include "private.h"
8 #include "java/jmsg.h"
9 #include "java/jmsg_process.h"
10
11 SG_BEGIN_DECL()
12
13 typedef struct s_smx_ctx_java {
14   s_smx_ctx_base_t super;  /* Fields of super implementation */
15   jobject jprocess;        /* the java process instance binded with the msg process structure                                                      */
16   JNIEnv *jenv;            /* jni interface pointer associated to this thread                                                                                      */
17 } s_smx_ctx_java_t, *smx_ctx_java_t;
18
19 SG_END_DECL()
20 #endif /* !_XBT_CONTEXT_JAVA_H */