X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/7a3e94ca4fe07f112f3efc9b8061e44097895aee..4d4b1d2d1c61831ac1106d666bfad7b1a8c46cc5:/src/simix/smx_global.cpp diff --git a/src/simix/smx_global.cpp b/src/simix/smx_global.cpp index 1904af4f66..5debbf8363 100644 --- a/src/simix/smx_global.cpp +++ b/src/simix/smx_global.cpp @@ -45,25 +45,6 @@ xbt_dynar_t simix_global_get_dead_actors_addr() } // namespace simix } // namespace simgrid - -static simgrid::kernel::actor::ActorCode maestro_code; -void SIMIX_set_maestro(void (*code)(void*), void* data) -{ -#ifdef _WIN32 - XBT_INFO("WARNING, SIMIX_set_maestro is believed to not work on windows. Please help us investigating this issue if " - "you need that feature"); -#endif - maestro_code = std::bind(code, data); -} - -void SIMIX_global_init(int* argc, char** argv) -{ - - // Either create a new context with maestro or create - // a context object with the current context maestro): - simgrid::kernel::actor::create_maestro(maestro_code); -} - /** * @ingroup SIMIX_API * @brief A clock (in second).