Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
All activities have their own finish method \o/
[simgrid.git] / src / simix / libsmx.cpp
index 247dd90..94d37fc 100644 (file)
@@ -404,3 +404,9 @@ smx_activity_t simcall_execution_start(const std::string& name, const std::strin
         ->start(flops_amount, priority, bound);
   });
 }
+
+// deprecated
+void SIMIX_comm_finish(smx_activity_t synchro)
+{
+  boost::static_pointer_cast<simgrid::kernel::activity::CommImpl>(synchro)->finish();
+}