/** \ingroup m_process_management * \brief Suspend the process. * * This function suspends the process by suspending the task on which it was waiting for the completion. */ msg_error_t MSG_process_suspend(msg_process_t process) { xbt_assert(process != nullptr, "Invalid parameter: First argument must not be nullptr"); TRACE_msg_process_suspend(process); simcall_process_suspend(process); return MSG_OK; }
/** \ingroup m_process_management * \brief Suspend the process. * * This function suspends the process by suspending the task on which * it was waiting for the completion. */ msg_error_t MSG_process_suspend(msg_process_t process) { xbt_assert(process != NULL, "Invalid parameter: First argument must not be NULL"); TRACE_msg_process_suspend(process); simcall_process_suspend(process); MSG_RETURN(MSG_OK); }
/** \ingroup m_process_management * \brief Suspend the process. * * This function suspends the process by suspending the task on which * it was waiting for the completion. */ msg_error_t MSG_process_suspend(msg_process_t process) { xbt_assert(process != NULL, "Invalid parameter"); #ifdef HAVE_TRACING TRACE_msg_process_suspend(process); #endif simcall_process_suspend(process); MSG_RETURN(MSG_OK); }