]> AND Public Git Repository - simgrid.git/blobdiff - src/simix/smx_private.hpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
(#27) added a (commented out) test that highlights a wait_any bug.
[simgrid.git] / src / simix / smx_private.hpp
index c26de3558a84e4ba6191adf22af1663b31f31a25..26893347ab92ea8232debf5d7c748ba4b6b11ef9 100644 (file)
@@ -75,16 +75,4 @@ XBT_PUBLIC_DATA std::unique_ptr<simgrid::simix::Global> 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