Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' of https://framagit.org/simgrid/simgrid
[simgrid.git] / src / simix / smx_private.hpp
index 81da1ce..66e5c36 100644 (file)
@@ -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<kernel::actor::ActorImpl*> actors_to_run;
   std::vector<kernel::actor::ActorImpl*> actors_that_ran;
   std::map<aid_t, kernel::actor::ActorImpl*> process_list;
@@ -55,12 +55,6 @@ public:
 #endif
   kernel::actor::ActorImpl* maestro_ = nullptr;
 
-  // Maps function names to actor code:
-  std::unordered_map<std::string, simix::ActorCodeFactory> registered_functions;
-
-  // This might be used when no corresponding function name is registered:
-  simix::ActorCodeFactory default_function;
-
   std::mutex mutex;
 
   std::vector<xbt::Task<void()>> tasks;