Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Use an ActorPtr as parameter to smpi_switch_data_segemnt.
[simgrid.git] / src / simix / ActorImpl.cpp
index 7bdaca7..e7445fb 100644 (file)
@@ -749,7 +749,7 @@ void SIMIX_process_yield(smx_actor_t self)
   }
 
   if (SMPI_switch_data_segment && not self->finished) {
-    SMPI_switch_data_segment(self->pid);
+    SMPI_switch_data_segment(self->iface());
   }
 }