Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
bug fix in the Paje traces. Unfortunately, it does not fix the weird
[simgrid.git] / src / msg / m_process.c
index 06f85c3..f9bee25 100644 (file)
@@ -493,6 +493,8 @@ int __MSG_process_block(double max_duration, const char *info)
     DEBUG0("I've been resumed, let's keep going");    
   }
 
+  PAJE_PROCESS_POP_STATE(process);
+
   XBT_OUT;
   return 1;
 }
@@ -519,8 +521,6 @@ MSG_error_t __MSG_process_unblock(m_process_t process)
 
   surf_workstation_resource->common_public->resume(simdata_task->compute);
 
-  PAJE_PROCESS_POP_STATE(process);
-
   XBT_OUT;
 
   MSG_RETURN(MSG_OK);