Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[mc] Remove Process:status_
[simgrid.git] / src / mc / Process.hpp
index 512f6f2..5d50961 100644 (file)
@@ -124,17 +124,11 @@ public:
     return running_;
   }
 
-  void terminate(int status)
+  void terminate()
   {
-    status_ = status;
     running_ = false;
   }
 
-  int status() const
-  {
-    return status_;
-  }
-
   template<class M>
   typename std::enable_if< std::is_class<M>::value && std::is_trivial<M>::value, int >::type
   send_message(M const& m)
@@ -174,7 +168,6 @@ private:
 private:
   pid_t pid_;
   int socket_;
-  int status_;
   bool running_;
   std::vector<simgrid::xbt::VmMap> memory_map_;
   remote_ptr<void> maestro_stack_start_, maestro_stack_end_;