X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/9cca09ad88fcaeb49f2637de97df519c3920aaa4..67d8461e1530fcf03ba924c15a97eba2550d78e0:/src/simix/ActorImpl.hpp diff --git a/src/simix/ActorImpl.hpp b/src/simix/ActorImpl.hpp index 7682fbd91b..06d42dc7da 100644 --- a/src/simix/ActorImpl.hpp +++ b/src/simix/ActorImpl.hpp @@ -17,7 +17,6 @@ struct s_smx_process_exit_fun_t { int_f_pvoid_pvoid_t fun; void *arg; }; -typedef s_smx_process_exit_fun_t* smx_process_exit_fun_t; namespace simgrid { namespace simix { @@ -47,7 +46,8 @@ public: aid_t pid = 0; aid_t ppid = -1; simgrid::xbt::string name; - const char* cname() { return name.c_str(); } + const simgrid::xbt::string& getName() const { return name; } + const char* getCname() const { return name.c_str(); } s4u::Host* host = nullptr; /* the host on which the process is running */ smx_context_t context = nullptr; /* the context (uctx/raw/thread) that executes the user function */