include src/sthread/sthread.c
include src/sthread/sthread.h
include src/sthread/sthread_impl.cpp
-include src/surf/surf_interface.hpp
include src/xbt/OsSemaphore.hpp
include src/xbt/PropertyHolder.cpp
include src/xbt/automaton/automaton.c
#include "src/simgrid/math_utils.h"
#include "src/simgrid/sg_config.hpp"
#include "src/smpi/include/smpi_actor.hpp"
-#include "src/surf/surf_interface.hpp"
#include "src/xbt/xbt_modinter.h" /* whether initialization was already done */
#include "xbt/module.h"
while (auto* event = profile::future_evt_set.pop_leq(next_event_date, &value, &resource)) {
if(value<0)
continue;
- if (resource->is_used() || (watched_hosts().find(resource->get_cname()) != watched_hosts().end())) {
+ if (resource->is_used()) {
time_delta = next_event_date - now_;
XBT_DEBUG("This event invalidates the next_occurring_event() computation of models. Next event set to %f",
time_delta);
#include "src/internal_config.h"
#include "src/kernel/EngineImpl.hpp"
-#include "src/surf/surf_interface.hpp"
#if HAVE_SMPI
#include "src/smpi/include/private.hpp"
#endif
if (not kernel_destroy_list_hook.is_linked())
engine->add_actor_to_destroy_list(*this);
- if (has_to_auto_restart() && not get_host()->is_on()) {
- XBT_DEBUG("Insert host %s to watched_hosts because it's off and %s needs to restart", get_host()->get_cname(),
- get_cname());
- watched_hosts().insert(get_host()->get_name());
- }
-
undaemonize();
s4u::Actor::on_termination(*get_ciface());
+++ /dev/null
-/* Copyright (c) 2004-2023. The SimGrid Team. All rights reserved. */
-
-/* This program is free software; you can redistribute it and/or modify it
- * under the terms of the license (GNU LGPL) which comes with this package. */
-
-#ifndef SURF_MODEL_H_
-#define SURF_MODEL_H_
-
-#include <set>
-#include <string>
-
-/** set of hosts for which one want to be notified if they ever restart */
-inline auto& watched_hosts() // avoid static initialization order fiasco
-{
- static std::set<std::string, std::less<>> value;
- return value;
-}
-#endif /* SURF_MODEL_H_ */
src/smpi/include/smpi_utils.hpp
src/smpi/smpi_main.c
src/smpi/smpi_replay_main.cpp
- src/surf/surf_interface.hpp
src/kernel/xml/simgrid.dtd
src/kernel/xml/simgrid_dtd.c
src/kernel/xml/simgrid_dtd.h