X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/blobdiff_plain/9936cb5ae7eaf8907cbff5722b206087b18053ca..5f9d773575a07c0dd024cfc323d034d6181da9b6:/communicator.cpp?ds=inline 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);