Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
allow a process blocked on a communication that didn't start yet to get suspended
[simgrid.git] / src / simix / smx_host.c
index 08b7ebe..d3be3ca 100644 (file)
@@ -326,7 +326,7 @@ void SIMIX_host_execution_suspend(smx_action_t action)
 void SIMIX_host_execution_resume(smx_action_t action)
 {
   if(action->execution.surf_exec)
-    surf_workstation_model->suspend(action->execution.surf_exec);
+    surf_workstation_model->resume(action->execution.surf_exec);
 }
 
 void SIMIX_execution_finish(smx_action_t action)