X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/940de22d7f2af82d58be3e886e6bc22608b4d8ec..6ca0df6f5bb17b5708c11a19846c0e90e25b7889:/include/simgrid/s4u/Actor.hpp?ds=sidebyside diff --git a/include/simgrid/s4u/Actor.hpp b/include/simgrid/s4u/Actor.hpp index 598721c0d4..e1b47f3697 100644 --- a/include/simgrid/s4u/Actor.hpp +++ b/include/simgrid/s4u/Actor.hpp @@ -51,7 +51,7 @@ namespace s4u { * pure function or as an object. It is very simple with functions: * * @code{.cpp} - * #include "s4u/actor.hpp" + * #include * * // Declare the code of your worker * void worker() { @@ -69,7 +69,7 @@ namespace s4u { * The syntax is slightly more complicated, but not much. * * @code{.cpp} - * #include "s4u/actor.hpp" + * #include * * // Declare the class representing your actors * class Worker { @@ -132,9 +132,9 @@ namespace s4u { class XBT_PUBLIC Actor : public simgrid::xbt::Extendable { friend Exec; friend Mailbox; - friend simgrid::simix::ActorImpl; + friend simgrid::kernel::actor::ActorImpl; friend simgrid::kernel::activity::MailboxImpl; - simix::ActorImpl* pimpl_ = nullptr; + kernel::actor::ActorImpl* pimpl_ = nullptr; /** Wrap a (possibly non-copyable) single-use task into a `std::function` */ template @@ -214,11 +214,11 @@ public: s4u::Host* getHost(); /** Retrieves the PID of that actor * - * actor_id_t is an alias for unsigned long */ + * aid_t is an alias for long */ aid_t getPid(); /** Retrieves the PPID of that actor * - * actor_id_t is an alias for unsigned long */ + * aid_t is an alias for long */ aid_t getPpid(); /** Suspend an actor by suspending the task on which it was waiting for the completion. */ @@ -276,7 +276,7 @@ public: static void killAll(int resetPid); /** Returns the internal implementation of this actor */ - simix::ActorImpl* getImpl(); + kernel::actor::ActorImpl* getImpl(); /** Retrieve the property value (or nullptr if not set) */ std::map* getProperties(); @@ -307,12 +307,6 @@ template inline void sleep_until(const SimulationTimePoint