Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
fix some issues arising when killing new-born actors (see #260)
[simgrid.git] / src / simix / ActorImpl.hpp
index c2449fbfd8061958032edf5db3222201fe37ca31..7fb9ab50f2d6522e7dda2a024a4a396d25ccdbc6 100644 (file)
@@ -57,12 +57,11 @@ public:
   aid_t pid  = 0;
   aid_t ppid = -1;
   simgrid::xbt::string name;
-  const simgrid::xbt::string& getName() const { return name; }
-  const char* getCname() const { return name.c_str(); }
+  const simgrid::xbt::string& get_name() const { return name; }
+  const char* get_cname() 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 */
 
-  // TODO, pack them
   std::exception_ptr exception;
   bool finished     = false;
   bool blocked      = false;