コード例 #1
0
ファイル: msg_process.c プロジェクト: dhascome/simgrid
/** \ingroup m_process_management
 * \brief Return the name of a process.
 *
 * This function checks whether \a process is a valid pointer or not
   and return its name.
 */
const char *MSG_process_get_name(msg_process_t process)
{
  xbt_assert(process, "Invalid parameter");

  return simcall_process_get_name(process);
}
コード例 #2
0
ファイル: msg_process.c プロジェクト: tempbottle/simgrid
/** \ingroup m_process_management
 * \brief Return the name of a process.
 *
 * This function checks whether \a process is a valid pointer or not
   and return its name.
 */
const char *MSG_process_get_name(msg_process_t process)
{
  xbt_assert(process != NULL, "Invalid parameter: First argument must not be NULL");

  return simcall_process_get_name(process);
}