Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
kill an unused function
authorMartin Quinson <martin.quinson@ens-rennes.fr>
Sun, 20 Jan 2019 17:09:13 +0000 (18:09 +0100)
committerMartin Quinson <martin.quinson@ens-rennes.fr>
Sun, 20 Jan 2019 21:56:17 +0000 (22:56 +0100)
include/simgrid/simix.h
src/simix/ActorImpl.cpp

index b9618c6..73a6bb1 100644 (file)
@@ -140,9 +140,6 @@ XBT_PUBLIC void SIMIX_launch_application(std::string file);
  *  4. detach (this waits for the simulation to terminate)
  */
 
  *  4. detach (this waits for the simulation to terminate)
  */
 
-SG_BEGIN_DECL()
-XBT_PUBLIC void SIMIX_maestro_create(void (*code)(void*), void* data);
-SG_END_DECL()
 #ifdef __cplusplus
 XBT_PUBLIC smx_actor_t SIMIX_process_attach(const char* name, void* data, const char* hostname,
                                             std::unordered_map<std::string, std::string>* properties,
 #ifdef __cplusplus
 XBT_PUBLIC smx_actor_t SIMIX_process_attach(const char* name, void* data, const char* hostname,
                                             std::unordered_map<std::string, std::string>* properties,
index 353b70d..37547d7 100644 (file)
@@ -312,12 +312,6 @@ void create_maestro(simgrid::simix::ActorCode code)
 }
 }
 
 }
 }
 
-/** @brief Creates and runs the maestro process */
-void SIMIX_maestro_create(void (*code)(void*), void* data)
-{
-  simgrid::kernel::actor::create_maestro(std::bind(code, data));
-}
-
 /**
  * @brief Internal function to create a process.
  *
 /**
  * @brief Internal function to create a process.
  *