X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/0f5e8daaa6e9f74521068aa75837200bcd182ea6..f5fd55f293d7e019e8c23e7ff76e2b3743e40cd6:/src/msg/mailbox.h diff --git a/src/msg/mailbox.h b/src/msg/mailbox.h index 3deb371785..aa1ab44775 100644 --- a/src/msg/mailbox.h +++ b/src/msg/mailbox.h @@ -14,16 +14,6 @@ SG_BEGIN_DECL() #define MAX_ALIAS_NAME ((size_t)260) -/* - * Initialization of the mailbox module. - */ -void MSG_mailbox_mod_init(void); - -/* - * Terminaison of the mailbox module. - */ -void MSG_mailbox_mod_exit(void); - /*! \brief MSG_mailbox_new - create a new mailbox. * @@ -37,19 +27,6 @@ void MSG_mailbox_mod_exit(void); XBT_PUBLIC(msg_mailbox_t) MSG_mailbox_new(const char *alias); -/*! \brief MSG_mailbox_create - create a new mailbox. - * - * The function MSG_mailbox_new creates a new mailbox identified by - * the key specified by the parameter alias and add it in the global - * dictionary but doesn't add it in the global dictionary. Typicaly, - * this type of mailbox is associated with a channel. - * - * \param alias The alias of the mailbox to create. - * - * \return The newly created mailbox. - */ -msg_mailbox_t MSG_mailbox_create(const char *alias); - /* \brief MSG_mailbox_free - release a mailbox from the memory. * * The function MSG_mailbox_free release a mailbox from the memory but does @@ -91,41 +68,6 @@ XBT_PUBLIC(msg_mailbox_t) XBT_PUBLIC(msg_mailbox_t) MSG_mailbox_get_by_channel(m_host_t host, m_channel_t channel); -/*! \brief MSG_mailbox_get_alias - get the alias associated with the mailbox. - * - * The function MSG_mailbox_get_alias returns the alias of the mailbox specified - * by the parameter mailbox. - * - * \param mailbox The mailbox to get the alias. - * - * \return The alias of the mailbox specified by the parameter mailbox. - */ -XBT_PUBLIC(const char *) MSG_mailbox_get_alias(msg_mailbox_t mailbox); - -/*! \brief MSG_mailbox_get_cond - get the simix condition of a mailbox. - * - * The function MSG_mailbox_get_cond returns the condition of the - * mailbox specified by the parameter mailbox. - * - * \param mailbox The mailbox to get the condition. - * - * \return The simix condition of the mailbox specified by the parameter mailbox. - */ -XBT_PUBLIC(smx_cond_t) - MSG_mailbox_get_cond(msg_mailbox_t mailbox); - -/*! \brief MSG_mailbox_set_cond - set the simix condition of a mailbox. - * - * The function MSG_mailbox_set_cond set the condition of the mailbox - * specified by the parameter mailbox. - * - * \param mailbox The mailbox to set the condition. - * \param cond The new simix condition of the mailbox. - * - */ -XBT_PUBLIC(void) MSG_mailbox_set_cond(msg_mailbox_t mailbox, - smx_cond_t cond); - /*! \brief MSG_mailbox_is_empty - test if a mailbox is empty. * * The function MSG_mailbox_is_empty tests if a mailbox is empty