AttachContext::~AttachContext() = default;
-ForcefulKillException::~ForcefulKillException() = default;
-
-void ForcefulKillException::do_throw()
-{
- throw ForcefulKillException();
-}
-
-bool ForcefulKillException::try_n_catch(std::function<void(void)> try_block)
-{
- bool res;
- try {
- try_block();
- res = true;
- } catch (ForcefulKillException const&) {
- XBT_DEBUG("Caught a ForcefulKillException");
- res = false;
- }
- return res;
-}
}}}
/** @brief Executes all the processes to run (in parallel if possible). */