X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/2757e5aa6f52b8ff53aec3ad5e5ca5c412fb2813..72b7977026be2ec4497220e10118d392a76b310b:/src/kernel/actor/ActorImpl.hpp diff --git a/src/kernel/actor/ActorImpl.hpp b/src/kernel/actor/ActorImpl.hpp index cef9f09895..f4ee3a8857 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;