if (TRACE_is_enabled() && task->category != nullptr)
simgrid::simix::simcall([comm, task] { comm->get_impl()->set_category(task->category); });
- TRACE_msg_task_put_end();
-
return msg_comm;
}
comm->status = MSG_TIMEOUT;
finished = true;
} catch (simgrid::CancelException& e) {
- comm->status = MSG_HOST_FAILURE;
+ comm->status = MSG_TASK_CANCELED;
finished = true;
}
catch (xbt_ex& e) {
status = MSG_TIMEOUT;
} catch (simgrid::CancelException& e) {
finished_index = e.value;
- status = MSG_HOST_FAILURE;
+ status = MSG_TASK_CANCELED;
}
catch (xbt_ex& e) {
if (e.category != network_error)
} catch (simgrid::TimeoutError& e) {
comm->status = MSG_TIMEOUT;
} catch (simgrid::CancelException& e) {
- comm->status = MSG_HOST_FAILURE;
+ comm->status = MSG_TASK_CANCELED;
}
catch (xbt_ex& e) {
if (e.category == network_error)
status = MSG_TIMEOUT;
} catch (simgrid::CancelException& e) {
finished_index = e.value;
- status = MSG_HOST_FAILURE;
+ status = MSG_TASK_CANCELED;
}
catch(xbt_ex& e) {
if (e.category == network_error) {