X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/199984db2c61ca2d2490485c203f5f9721cedcba..d22f65624615098a556403243579dd7c4ceb69dd:/src/simix/ActorImpl.hpp diff --git a/src/simix/ActorImpl.hpp b/src/simix/ActorImpl.hpp index ff1073cc80..f9623d190e 100644 --- a/src/simix/ActorImpl.hpp +++ b/src/simix/ActorImpl.hpp @@ -51,6 +51,7 @@ public: unsigned long pid = 0; unsigned long ppid = 0; simgrid::xbt::string name; + const char* cname() { return name.c_str(); } sg_host_t 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 */