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!");
} catch (simgrid::TimeoutError& e) {
ret = MSG_TIMEOUT;
} catch (simgrid::CancelException& e) {
- ret = MSG_HOST_FAILURE;
+ ret = MSG_TASK_CANCELED;
} catch (xbt_ex& e) {
if (e.category == network_error)
ret = MSG_TRANSFER_FAILURE;