A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
docs: start writing the S4U part
[simgrid.git]
/
include
/
simgrid
/
s4u
/
Actor.hpp
diff --git
a/include/simgrid/s4u/Actor.hpp
b/include/simgrid/s4u/Actor.hpp
index
fd9a6a4
..
dcab10e
100644
(file)
--- a/
include/simgrid/s4u/Actor.hpp
+++ b/
include/simgrid/s4u/Actor.hpp
@@
-121,12
+121,11
@@
namespace s4u {
/** @brief Simulation Agent */
class XBT_PUBLIC Actor : public simgrid::xbt::Extendable<Actor> {
/** @brief Simulation Agent */
class XBT_PUBLIC Actor : public simgrid::xbt::Extendable<Actor> {
-#ifndef DOXYGEN
- friend Exec;
- friend Mailbox;
+ friend simgrid::s4u::Exec;
+ friend simgrid::s4u::Mailbox;
friend simgrid::kernel::actor::ActorImpl;
friend simgrid::kernel::activity::MailboxImpl;
friend simgrid::kernel::actor::ActorImpl;
friend simgrid::kernel::activity::MailboxImpl;
-#endif
+
kernel::actor::ActorImpl* pimpl_ = nullptr;
explicit Actor(smx_actor_t pimpl) : pimpl_(pimpl) {}
kernel::actor::ActorImpl* pimpl_ = nullptr;
explicit Actor(smx_actor_t pimpl) : pimpl_(pimpl) {}
@@
-258,6
+257,7
@@
public:
*/
void kill();
*/
void kill();
+ /** Kill an actor from its ID */
static void kill(aid_t pid);
/** Retrieves the actor that have the given PID (or nullptr if not existing) */
static void kill(aid_t pid);
/** Retrieves the actor that have the given PID (or nullptr if not existing) */