X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/982442189350b73c9dac4fe1a282b2c96e06e024..4cedf6f3e1b53c5de2a19a293418a04c5d4d777f:/src/msg/msg_gos.cpp diff --git a/src/msg/msg_gos.cpp b/src/msg/msg_gos.cpp index dfc6ca9495..e9f5b1c319 100644 --- a/src/msg/msg_gos.cpp +++ b/src/msg/msg_gos.cpp @@ -849,19 +849,6 @@ msg_error_t MSG_task_send_with_timeout_bounded(msg_task_t task, const char *alia return MSG_task_send_with_timeout(task, alias, timeout); } -/** \ingroup msg_task_usage - * \brief Check if there is a communication going on in a mailbox. - * - * \param alias the name of the mailbox to be considered - * - * \return Returns 1 if there is a communication, 0 otherwise - */ -int MSG_task_listen(const char *alias) -{ - simgrid::s4u::MailboxPtr mbox = simgrid::s4u::Mailbox::by_name(alias); - return mbox->listen() ? 1 : 0; -} - /** \ingroup msg_task_usage * \brief Look if there is a communication on a mailbox and return the PID of the sender process. *