Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Make the suspend/resume work while a process is in a syscall.
[simgrid.git] / src / simix / smx_host.c
index 08b7ebec38a4ad8510f4b4a6fbe8889554d5d5a4..d3be3ca9d7c04d71a5c3d721bd3ceda232a51d26 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)