From: navarrop Date: Wed, 16 Feb 2011 14:12:30 +0000 (+0000) Subject: Don't need private files without this command line X-Git-Tag: v3_9_90~569^2~19^2~204 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/228dd9f4d188ccba1521bb4ff947a868e147fcb6 Don't need private files without this command line git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/contrib/trunk/simgrid-java@9642 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/src/smx_context_java.c b/src/smx_context_java.c index 586531d42f..bd56c84078 100644 --- a/src/smx_context_java.c +++ b/src/smx_context_java.c @@ -10,7 +10,6 @@ #include #include #include "smx_context_java.h" -#include "simix/process_private.h" #include "xbt/dynar.h" XBT_LOG_NEW_DEFAULT_SUBCATEGORY(jmsg, bindings, "MSG for Java(TM)"); @@ -162,7 +161,7 @@ static void smx_ctx_java_runall(xbt_dynar_t processes) xbt_dynar_foreach(processes, cursor, process) { old_context = my_current_context; - my_current_context = process->context; + my_current_context = SIMIX_process_get_context(process); smx_ctx_java_resume(my_current_context); my_current_context = old_context; }