Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Compile fix: iwannadie is now in the context structure
authorcristianrosa <cristianrosa@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Mon, 6 Dec 2010 11:01:23 +0000 (11:01 +0000)
committercristianrosa <cristianrosa@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Mon, 6 Dec 2010 11:01:23 +0000 (11:01 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9005 48e7efb5-ca39-0410-a469-dd3cf9ba447f

src/simix/smx_context_ruby.c

index 295accd..f781020 100644 (file)
@@ -71,7 +71,7 @@ static void smx_ctx_ruby_stop(smx_context_t context)
 
   ctx_ruby = (smx_ctx_ruby_t) context;
 
-  if (((smx_process_t)smx_current_context->data)->iwannadie) {
+  if (smx_current_context->iwannadie) {
     if (ctx_ruby->process) {
 
       //if the Ruby Process still Alive ,let's Schedule it