Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
No need for the AS creation callback
authorMartin Quinson <martin.quinson@loria.fr>
Sun, 11 Dec 2016 17:48:59 +0000 (18:48 +0100)
committerMartin Quinson <martin.quinson@loria.fr>
Sun, 11 Dec 2016 17:48:59 +0000 (18:48 +0100)
src/surf/sg_platf.cpp
src/surf/surf_routing.cpp
src/surf/surf_routing.hpp

index 8851dd6..a6627a2 100644 (file)
@@ -717,7 +717,6 @@ simgrid::s4u::As * sg_platf_new_AS_begin(sg_platf_AS_cbarg_t AS)
   /* set the new current component of the tree */
   current_routing = new_as;
 
-  simgrid::kernel::routing::asCreatedCallbacks(new_as);
   if (TRACE_is_enabled())
     sg_instr_AS_begin(AS);
 
index 5d8bdb5..7904fff 100644 (file)
 
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(surf_route, surf, "Routing part of surf");
 
-namespace simgrid {
-namespace kernel {
-namespace routing {
-
-  /* Callbacks */
-  simgrid::xbt::signal<void(s4u::As*)> asCreatedCallbacks;
-
-}}} // namespace simgrid::kernel::routing
-
 /**
  * @ingroup SURF_build_api
  * @brief A library containing all known hosts
index d42dac9..63cbd5a 100644 (file)
@@ -20,12 +20,4 @@ XBT_PRIVATE xbt_node_t new_xbt_graph_node (xbt_graph_t graph, const char *name,
 XBT_PRIVATE xbt_edge_t new_xbt_graph_edge (xbt_graph_t graph, xbt_node_t s, xbt_node_t d, xbt_dict_t edges);
 SG_END_DECL()
 
-namespace simgrid {
-namespace kernel {
-namespace routing {
-
-  XBT_PUBLIC_DATA(simgrid::xbt::signal<void(s4u::As*)>) asCreatedCallbacks;
-
-}}}
-
 #endif /* NETWORK_ROUTING_HPP_ */