X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/f863142ca1ffcf37908e0beb8dd4b71eb2a74c86..7d28d93b90eedd2a49da8b9b990296669e46d05c:/src/simix/smx_private.hpp diff --git a/src/simix/smx_private.hpp b/src/simix/smx_private.hpp index 8ffc2edc33..66e5c36edc 100644 --- a/src/simix/smx_private.hpp +++ b/src/simix/smx_private.hpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2007-2019. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2007-2020. The SimGrid Team. All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ @@ -30,10 +30,10 @@ public: */ void empty_trash(); void run_all_actors(); - void wake_all_waiting_actors(); - void display_all_actor_status(); + void wake_all_waiting_actors() const; + void display_all_actor_status() const; - smx_context_factory_t context_factory = nullptr; + kernel::context::ContextFactory* context_factory = nullptr; std::vector actors_to_run; std::vector actors_that_ran; std::map process_list; @@ -55,12 +55,6 @@ public: #endif kernel::actor::ActorImpl* maestro_ = nullptr; - // Maps function names to actor code: - std::unordered_map registered_functions; - - // This might be used when no corresponding function name is registered: - simix::ActorCodeFactory default_function; - std::mutex mutex; std::vector> tasks;