build:
runs-on: ubuntu-latest
- container:
+ container:
image: bigdft/sdk
options: --user 0
std::vector<double> bytes_amounts_;
s4u::Exec* piface_;
int cb_id_ = -1; // callback id from Host::on_state_change.connect()
+
public:
ExecImpl();
s4u::Exec* get_iface() { return piface_; }
} // namespace simgrid
/* needs to be public and without simcall because it is called by exceptions and logging events */
-const char* SIMIX_process_self_get_name() // XBT_ATTRIB_DEPRECATD_v333
+const char* SIMIX_process_self_get_name() // XBT_ATTRIB_DEPRECATED_v333
{
return SIMIX_is_maestro() ? "maestro" : simgrid::kernel::actor::ActorImpl::self()->get_cname();
}
try {
try_block();
res = true;
- } catch (ForcefulKillException const&) {
- XBT_DEBUG("Caught a ForcefulKillException");
+ } catch (ForcefulKillException const& e) {
+ XBT_DEBUG("Caught a ForcefulKillException: %s", e.what());
res = false;
}
return res;
std::abort();
}
- // Get the current backtrace and exception
- simgrid::xbt::Backtrace bt = simgrid::xbt::Backtrace();
+ // Get the current exception and show backtrace
try {
std::rethrow_exception(std::current_exception());
}
}
XBT_ERROR("Unknown uncaught exception");
}
- show_backtrace(bt);
+ show_backtrace(simgrid::xbt::Backtrace());
std::abort();
}