Esempio n. 1
0
/** \ingroup m_process_management
 * \brief Resume a suspended process.
 *
 * This function resumes a suspended process by resuming the task on which it was waiting for the completion.
 */
msg_error_t MSG_process_resume(msg_process_t process)
{
  xbt_assert(process != nullptr, "Invalid parameter: First argument must not be nullptr");

  TRACE_msg_process_resume(process);
  simcall_process_resume(process);
  return MSG_OK;
}
Esempio n. 2
0
/** \ingroup m_process_management
 * \brief Resume a suspended process.
 *
 * This function resumes a suspended process by resuming the task on
 * which it was waiting for the completion.
 */
msg_error_t MSG_process_resume(msg_process_t process)
{
  xbt_assert(process != NULL, "Invalid parameter: First argument must not be NULL");

  TRACE_msg_process_resume(process);
  simcall_process_resume(process);
  MSG_RETURN(MSG_OK);
}
Esempio n. 3
0
/** \ingroup m_process_management
 * \brief Resume a suspended process.
 *
 * This function resumes a suspended process by resuming the task on
 * which it was waiting for the completion.
 */
msg_error_t MSG_process_resume(msg_process_t process)
{
  xbt_assert(process != NULL, "Invalid parameter");

#ifdef HAVE_TRACING
  TRACE_msg_process_resume(process);
#endif

  simcall_process_resume(process);
  MSG_RETURN(MSG_OK);
}
Esempio n. 4
0
/** \ingroup m_process_management
 * \brief Resume a suspended process.
 *
 * This function resumes a suspended process by resuming the task on
 * which it was waiting for the completion.
 */
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);
#endif

  SIMIX_req_process_resume(process);
  MSG_RETURN(MSG_OK);
}