From: cristianrosa Date: Mon, 17 Aug 2009 13:57:57 +0000 (+0000) Subject: Fix another bug in the java context implementation X-Git-Tag: SVN~1093 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/375d54b4efaa5aae36e564211c66c938d8606ffd?hp=47619e4bb47a259821ad1b37cca80a91184fe79c Fix another bug in the java context implementation git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@6575 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/src/simix/smx_process.c b/src/simix/smx_process.c index 0c3caf8be0..db50d01160 100644 --- a/src/simix/smx_process.c +++ b/src/simix/smx_process.c @@ -162,7 +162,7 @@ void SIMIX_jprocess_create(const char *name, smx_host_t host, process->smx_host = host; process->mutex = NULL; process->cond = NULL; - SIMIX_context_new(jprocess, 0, NULL, NULL, NULL); + process->context = SIMIX_context_new(jprocess, 0, NULL, NULL, NULL); process->data = data; /* Add the process to it's host process list */