X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/blobdiff_plain/e9c3c48dfa8ea8ebddb2550a1cdd9981c8874bf8..5f9d773575a07c0dd024cfc323d034d6181da9b6:/communicator.cpp?ds=sidebyside diff --git a/communicator.cpp b/communicator.cpp index ce0e79f..fd01ac9 100644 --- a/communicator.cpp +++ b/communicator.cpp @@ -75,16 +75,6 @@ void communicator::flush(bool wait) } } -bool communicator::recv(message*& msg, m_host_t& from, double timeout) -{ - XBT_DEBUG("waiting for a message to come"); - bool recvd = received.pop(msg, from, timeout); - if (recvd) - XBT_DEBUG("received %s from %s", - msg->to_string().c_str(), MSG_host_get_name(from)); - return recvd; -} - void communicator::receiver() { xbt_dynar_t comms = xbt_dynar_new(sizeof(msg_comm_t), NULL);