Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Mix XML and C++ platforms
authorBruno Donassolo <bruno.donassolo@inria.fr>
Mon, 3 Jan 2022 18:12:47 +0000 (19:12 +0100)
committerBruno Donassolo <bruno.donassolo@inria.fr>
Mon, 3 Jan 2022 18:33:43 +0000 (19:33 +0100)
commite4b0e5563bf3957c69041a31c1ccc6a0274e1792
tree0cdcb3a9cfcf49539f5805f940311773595cb0c4
parent823c82fe7b96c09298262a9262e518a57473fb04
Mix XML and C++ platforms

Fixes https://framagit.org/simgrid/simgrid/-/issues/99

Main changes:
- Allows adding resources to a netzone after loading the XML platform.
- Disallows adding resources to a sealed netzone.
- Move the seal of resources from s4u::Engine:run to EngineImpl::run.
- Remove seal from load_platform (to permit adding resources to netzones)
ChangeLog
include/simgrid/s4u/Engine.hpp
src/kernel/EngineImpl.cpp
src/kernel/EngineImpl.hpp
src/kernel/routing/NetZoneImpl.cpp
src/s4u/s4u_Engine.cpp
src/surf/sg_platf.cpp
teshsuite/platforms/flatifier.cpp
teshsuite/s4u/basic-parsing-test/basic-parsing-test.cpp