コード例 #1
0
/** \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;
}
コード例 #2
0
ファイル: msg_process.c プロジェクト: tempbottle/simgrid
/** \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);
}
コード例 #3
0
ファイル: msg_process.c プロジェクト: dhascome/simgrid
/** \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);
}