/** \defgroup m_process_management Management Functions of Agents
* \brief This section describes the agent structure of MSG
+ */
+/** \addtogroup m_process_management
* (#m_process_t) and the functions for managing it.
* \htmlonly <!-- DOXYGEN_NAVBAR_LABEL="Agents" --> \endhtmlonly
*
xbt_fifo_remove(msg_global->process_to_run,process);
xbt_fifo_remove(msg_global->process_list,process);
- xbt_context_free(process->simdata->context);
+ xbt_context_kill(process->simdata->context);
if(process==MSG_process_self()) {
/* I just killed myself */