XBT_LOG_NEW_DEFAULT_SUBCATEGORY(msg_process, msg,
"Logging specific to MSG (process)");
-/** \defgroup m_process_management Management Functions of Agents
- * \brief This section describes the agent structure of MSG
- * (#m_process_t) and the functions for managing it.
- */
/** @addtogroup m_process_management
* \htmlonly <!-- DOXYGEN_NAVBAR_LABEL="Agents" --> \endhtmlonly
*
return SIMIX_process_from_PID(PID);
}
+/** @brief returns a list of all currently existing processes */
+xbt_dynar_t MSG_processes_as_dynar(void) {
+ return SIMIX_processes_as_dynar();
+}
+
/** \ingroup m_process_management
* \brief Returns the process ID of \a process.
*
MSG_error_t MSG_process_suspend(m_process_t process)
{
xbt_assert(process != NULL, "Invalid parameter");
- CHECK_HOST();
#ifdef HAVE_TRACING
TRACE_msg_process_suspend(process);
MSG_error_t MSG_process_resume(m_process_t process)
{
xbt_assert(process != NULL, "Invalid parameter");
- CHECK_HOST();
#ifdef HAVE_TRACING
TRACE_msg_process_resume(process);