Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
migrate actors_to_run and actors_that_ran to EngineImpl
[simgrid.git] / src / simix / smx_private.hpp
index 492d7cf..ddf9816 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2007-2020. The SimGrid Team. All rights reserved.          */
+/* Copyright (c) 2007-2021. 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. */
@@ -22,20 +22,15 @@ namespace simix {
 
 class Global {
 public:
-  bool execute_tasks();
   /**
    * Garbage collection
    *
    * Should be called some time to time to free the memory allocated for actors that have finished (or killed).
    */
   void empty_trash();
-  void run_all_actors();
-  void wake_all_waiting_actors() const;
   void display_all_actor_status() const;
 
-  smx_context_factory_t context_factory = nullptr;
-  std::vector<kernel::actor::ActorImpl*> actors_to_run;
-  std::vector<kernel::actor::ActorImpl*> actors_that_ran;
+  kernel::context::ContextFactory* context_factory = nullptr;
   std::map<aid_t, kernel::actor::ActorImpl*> process_list;
   boost::intrusive::list<kernel::actor::ActorImpl,
                          boost::intrusive::member_hook<kernel::actor::ActorImpl, boost::intrusive::list_member_hook<>,
@@ -56,11 +51,6 @@ public:
   kernel::actor::ActorImpl* maestro_ = nullptr;
 
   std::mutex mutex;
-
-  std::vector<xbt::Task<void()>> tasks;
-  std::vector<xbt::Task<void()>> tasksTemp;
-
-  std::vector<kernel::actor::ActorImpl*> daemons;
 };
 }
 }