Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Change the way the Process are killed, since we need the java stack to be empty ...
[simgrid.git] / src / smx_context_java.h
index 784b949..d0578f0 100644 (file)
@@ -9,7 +9,7 @@
 
 #include <xbt/misc.h>
 #include <simgrid/simix.h>
-#include <xbt/os_thread.h>
+#include <xbt/xbt_os_thread.h>
 
 #include "jmsg.h"
 #include "jmsg_process.h"
@@ -23,6 +23,7 @@ typedef struct s_smx_ctx_java {
   xbt_os_thread_t thread;
   xbt_os_sem_t begin;           /* this semaphore is used to schedule/yield the process  */
   xbt_os_sem_t end;             /* this semaphore is used to schedule/unschedule the process   */
+  int killed;
 } s_smx_ctx_java_t, *smx_ctx_java_t;
 
 void SIMIX_ctx_java_factory_init(smx_context_factory_t *factory);