It only deals with cancel ones
try{
// this is not a detached send
simcall_comm_wait((*request)->action_.get(), -1.0);
try{
// this is not a detached send
simcall_comm_wait((*request)->action_.get(), -1.0);
- } catch (const Exception&) {
+ } catch (const CancelException&) {
XBT_VERB("Request cancelled");
}
}
XBT_VERB("Request cancelled");
}
}
int i;
try{
i = simcall_comm_waitany(comms.data(), comms.size(), -1);
int i;
try{
i = simcall_comm_waitany(comms.data(), comms.size(), -1);
- } catch (const Exception&) {
+ } catch (const CancelException&) {
XBT_INFO("request cancelled");
i = -1;
}
XBT_INFO("request cancelled");
i = -1;
}