#define SIMIX_PRIVATE_HPP
#include "simgrid/s4u/Actor.hpp"
+#include "src/kernel/actor/ActorImpl.hpp"
#include "src/kernel/context/Context.hpp"
-#include "src/simix/ActorImpl.hpp"
#include <boost/intrusive/list.hpp>
#include <mutex>
friend XBT_PUBLIC bool simgrid::s4u::this_actor::is_maestro();
public:
+ bool execute_tasks();
/**
* Garbage collection
*
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