Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Obey! Move signal trigger at a better place
authorFrederic Suter <frederic.suter@cc.in2p3.fr>
Mon, 30 Apr 2018 15:27:04 +0000 (17:27 +0200)
committerFrederic Suter <frederic.suter@cc.in2p3.fr>
Mon, 30 Apr 2018 15:27:04 +0000 (17:27 +0200)
src/surf/sg_platf.cpp
src/surf/xml/surfxml_sax_cb.cpp

index e331fd1..fa00565 100644 (file)
@@ -557,6 +557,7 @@ simgrid::s4u::NetZone* sg_platf_new_Zone_begin(simgrid::kernel::routing::ZoneCre
 
   _sg_cfg_init_status = 2; /* HACK: direct access to the global controlling the level of configuration to prevent
                             * any further config now that we created some real content */
+  simgrid::s4u::on_config_in_platform_done();
 
   /* search the routing model */
   simgrid::kernel::routing::NetZoneImpl* new_zone = nullptr;
index 22836f5..e56c3f0 100644 (file)
@@ -869,7 +869,6 @@ void ETag_surfxml_config()
   }
   XBT_DEBUG("End configuration name = %s",A_surfxml_config_id);
 
-  simgrid::s4u::on_config_in_platform_done();
   delete current_property_set;
   current_property_set = nullptr;
 }