X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/b830103bb89748d30c84ff7a0e88ca821d2d78b7..79f4c4c467150b3bea841b968cabd629e9d9282a:/src/simix/smx_private.hpp diff --git a/src/simix/smx_private.hpp b/src/simix/smx_private.hpp index c26de3558a..26893347ab 100644 --- a/src/simix/smx_private.hpp +++ b/src/simix/smx_private.hpp @@ -75,16 +75,4 @@ XBT_PUBLIC_DATA std::unique_ptr simix_global; XBT_PUBLIC void SIMIX_clean(); -/******************************** Exceptions *********************************/ -/** @brief Ask to the provided ActorImpl to raise the provided exception */ -#define SMX_EXCEPTION(issuer, cat, val, msg) \ - if (1) { \ - simgrid::kernel::actor::ActorImpl* _smx_throw_issuer = (issuer); /* evaluate only once */ \ - xbt_ex e(XBT_THROW_POINT, msg); \ - e.category = cat; \ - e.value = val; \ - _smx_throw_issuer->exception_ = std::make_exception_ptr(e); \ - } else \ - ((void)0) - #endif