X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/097a9bcbcfefff811429ccce957affe18c332e41..5fdfd655eb2532734bad27bcfd026c0ee97486da:/src/msg/msg_gos.cpp?ds=sidebyside diff --git a/src/msg/msg_gos.cpp b/src/msg/msg_gos.cpp index 6fe6cbd024..c173b4b8d2 100644 --- a/src/msg/msg_gos.cpp +++ b/src/msg/msg_gos.cpp @@ -73,12 +73,10 @@ msg_error_t MSG_parallel_task_execute_with_timeout(msg_task_t task, double timeo sg_host_t host = MSG_process_get_host(MSG_process_self()); simdata->compute = simgrid::simix::simcall([task, host] { return simgrid::kernel::activity::ExecImplPtr( - new simgrid::kernel::activity::ExecImpl(task->name ?: "", task->category ?: "", - /*timeout_detector*/ nullptr, host)); + new simgrid::kernel::activity::ExecImpl(task->name ?: "", task->category ?: "", host)); }); /* checking for infinite values */ xbt_assert(std::isfinite(simdata->flops_amount), "flops_amount is not finite!"); - xbt_assert(std::isfinite(simdata->priority), "priority is not finite!"); simdata->compute->start(simdata->flops_amount, simdata->priority, simdata->bound); } @@ -288,7 +286,6 @@ static inline msg_comm_t MSG_task_isend_internal(msg_task_t task, const char* al /* Prepare the task to send */ t_simdata = task->simdata; t_simdata->sender = myself; - t_simdata->source = MSG_host_self(); t_simdata->set_used(); t_simdata->comm = nullptr; msg_global->sent_msg++; @@ -732,7 +729,6 @@ msg_error_t MSG_task_send_with_timeout(msg_task_t task, const char *alias, doubl /* Prepare the task to send */ simdata_task_t t_simdata = task->simdata; t_simdata->sender = MSG_process_self(); - t_simdata->source = MSG_host_self(); t_simdata->set_used(); msg_global->sent_msg++;