Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
remove simix.h from one more C file
[simgrid.git] / src / msg / msg_process.cpp
index 091650e..ffe758f 100644 (file)
@@ -390,6 +390,14 @@ int MSG_process_self_PPID()
   return MSG_process_get_PPID(MSG_process_self());
 }
 
   return MSG_process_get_PPID(MSG_process_self());
 }
 
+/** \ingroup m_process_management
+ * \brief Return the name of the current process.
+ */
+const char* MSG_process_self_name()
+{
+  return SIMIX_process_self_get_name();
+}
+
 /** \ingroup m_process_management
  * \brief Return the current process.
  *
 /** \ingroup m_process_management
  * \brief Return the current process.
  *