#endif /* _WIN32 */
-/********************************* SIMIX **************************************/
-namespace simgrid {
-namespace simix {
-
-
-} // namespace simix
-} // namespace simgrid
-
static simgrid::kernel::actor::ActorCode maestro_code;
void SIMIX_set_maestro(void (*code)(void*), void* data)
{
engine->run_all_actors();
engine->empty_trash();
- /* Exit the SIMIX network module */
- SIMIX_mailbox_exit();
-
-
/* Let's free maestro now */
delete simix_global->maestro_;
simix_global->maestro_ = nullptr;
/* Finish context module and SURF */
- SIMIX_context_mod_exit();
+ simix_global->destroy_context_factory();
surf_exit();