Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Seal NetZone
authorBruno Donassolo <bruno.donassolo@inria.fr>
Fri, 2 Apr 2021 17:26:31 +0000 (19:26 +0200)
committerBruno Donassolo <bruno.donassolo@inria.fr>
Fri, 2 Apr 2021 17:26:31 +0000 (19:26 +0200)
commit118a9b1b2609523e6fe263e753e79b6aad167723
treed5de3219ac71f1aa32ecc5aa74978f4f3df71ead
parent1365d67fed75eed3bc33aaed77aac4481039f27a
Seal NetZone

We need to be able to seal the netzone too.
Sealing a netzone, seals its children and hosts.

Add protection to avoid sealing twice.
include/simgrid/s4u/NetZone.hpp
src/kernel/routing/NetZoneImpl.cpp
src/s4u/s4u_Host.cpp
src/s4u/s4u_Netzone.cpp
src/surf/HostImpl.cpp
src/surf/cpu_interface.cpp