+
+void simcall_execution_set_bound(smx_activity_t exec, double bound)
+{
+ simgrid::simix::simcall(
+ [exec, bound] { boost::static_pointer_cast<simgrid::kernel::activity::ExecImpl>(exec)->set_bound(bound); });
+}
+
+smx_activity_t simcall_execution_start(const std::string& name, const std::string& category, double flops_amount,
+ double priority, double bound, sg_host_t host)
+{
+ return simgrid::simix::simcall([name, category, flops_amount, priority, bound, host] {
+ return simgrid::kernel::activity::ExecImplPtr(
+ new simgrid::kernel::activity::ExecImpl(std::move(name), std::move(category), host))
+ ->start(flops_amount, priority, bound);
+ });
+}
+
+// deprecated
+void SIMIX_comm_finish(smx_activity_t synchro)
+{
+ boost::static_pointer_cast<simgrid::kernel::activity::CommImpl>(synchro)->finish();