X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/ee96082a335b65893460678f9f8c625ea3c463e5..f8498e93073ae2ad6e6e19571ecf52c9104edbd0:/src/kernel/actor/ActorImpl.hpp diff --git a/src/kernel/actor/ActorImpl.hpp b/src/kernel/actor/ActorImpl.hpp index cef9f09895..c6324ecc53 100644 --- a/src/kernel/actor/ActorImpl.hpp +++ b/src/kernel/actor/ActorImpl.hpp @@ -15,11 +15,6 @@ #include #include -struct s_smx_process_exit_fun_t { - std::function fun; - void* arg; -}; - namespace simgrid { namespace kernel { namespace actor { @@ -70,7 +65,7 @@ public: activity::ActivityImplPtr waiting_synchro = nullptr; /* the current blocking synchro if any */ std::list comms; /* the current non-blocking communication synchros */ s_smx_simcall simcall; - std::vector on_exit; /* list of functions executed when the process dies */ + std::vector> on_exit; /* list of functions executed when the process dies */ std::function code; simix::Timer* kill_timer = nullptr; @@ -181,6 +176,4 @@ XBT_PUBLIC void create_maestro(const std::function& code); extern void (*SMPI_switch_data_segment)(simgrid::s4u::ActorPtr actor); -XBT_PRIVATE void SIMIX_process_sleep_destroy(simgrid::kernel::activity::SleepImplPtr synchro); - #endif