/* I am the receiver */
(*task_received)->set_not_used();
}
- } catch (const simgrid::TimeoutError&) {
+ } catch (const simgrid::TimeoutException&) {
status_ = MSG_TIMEOUT;
finished = true;
} catch (const simgrid::CancelException&) {
}
/* FIXME: these functions are not traceable */
- } catch (const simgrid::TimeoutError&) {
+ } catch (const simgrid::TimeoutException&) {
status_ = MSG_TIMEOUT;
} catch (const simgrid::CancelException&) {
status_ = MSG_TASK_CANCELED;
msg_error_t status = MSG_OK;
try {
finished_index = simcall_comm_testany(s_comms.data(), s_comms.size());
- } catch (const simgrid::TimeoutError& e) {
+ } catch (const simgrid::TimeoutException& e) {
finished_index = e.value;
status = MSG_TIMEOUT;
} catch (const simgrid::CancelException& e) {
return comm->wait_for(timeout);
}
-/** @brief This function is called by a sender and permit to wait for each communication
+/** @brief This function is called by a sender and permits waiting for each communication
*
* @param comm a vector of communication
* @param nb_elem is the size of the comm vector
msg_error_t status = MSG_OK;
try {
finished_index = simcall_comm_waitany(s_comms.data(), s_comms.size(), -1);
- } catch (const simgrid::TimeoutError& e) {
+ } catch (const simgrid::TimeoutException& e) {
finished_index = e.value;
status = MSG_TIMEOUT;
} catch (const simgrid::CancelException& e) {