X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/237fd22b56db7d1c67360c37559ce3aab16a002d..59251ff676c562b79573e3561166e4351e4ad11e:/src/s4u/s4u_Link.cpp diff --git a/src/s4u/s4u_Link.cpp b/src/s4u/s4u_Link.cpp index 9c6d41a8c9..493d5c463a 100644 --- a/src/s4u/s4u_Link.cpp +++ b/src/s4u/s4u_Link.cpp @@ -3,18 +3,16 @@ /* 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. */ -#include +#include +#include +#include +#include +#include +#include -#include "simgrid/Exception.hpp" -#include "simgrid/s4u/Engine.hpp" -#include "simgrid/s4u/Link.hpp" -#include "simgrid/sg_config.hpp" -#include "simgrid/simix.hpp" #include "src/surf/SplitDuplexLinkImpl.hpp" #include "src/surf/network_interface.hpp" #include "src/surf/network_wifi.hpp" -#include "xbt/log.h" -#include "xbt/parse_units.hpp" namespace simgrid { @@ -145,6 +143,7 @@ void Link::turn_off() Link* Link::seal() { kernel::actor::simcall([this]() { this->pimpl_->seal(); }); + s4u::Link::on_creation(*this); // notify the signal return this; }