X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/d805d3e2b617db73c7c28cf4e4683cd9e6b928d4..6126924e83eded994bef252b90becedc31015a59:/src/simix/smx_private.hpp diff --git a/src/simix/smx_private.hpp b/src/simix/smx_private.hpp index d8c2e13aba..830a2f819d 100644 --- a/src/simix/smx_private.hpp +++ b/src/simix/smx_private.hpp @@ -8,7 +8,11 @@ #include "simgrid/s4u/Actor.hpp" #include "src/kernel/context/Context.hpp" +#include "src/simix/ActorImpl.hpp" +#include +#include +#include #include #include @@ -49,11 +53,7 @@ public: // This might be used when no corresponding function name is registered: simgrid::simix::ActorCodeFactory default_function; - smx_creation_func_t create_process_function = nullptr; - void_pfn_smxprocess_t kill_process_function = nullptr; - /** Callback used when killing a SMX_process */ - void_pfn_smxprocess_t cleanup_process_function = nullptr; - xbt_os_mutex_t mutex = nullptr; + std::mutex mutex; std::vector> tasks; std::vector> tasksTemp;