X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/5001c11df4c0d47229ce8c6293ee2fbbb61f802e..0eead244337fde8f0508629f8f8473f946c19f88:/src/msg/msg_mailbox.cpp diff --git a/src/msg/msg_mailbox.cpp b/src/msg/msg_mailbox.cpp index f1fd0c36ee..218671054d 100644 --- a/src/msg/msg_mailbox.cpp +++ b/src/msg/msg_mailbox.cpp @@ -10,7 +10,8 @@ #include "simgrid/msg.h" #include "msg_private.h" -#include "simgrid/s4u/mailbox.hpp" +#include "simgrid/s4u/Actor.hpp" +#include "simgrid/s4u/Mailbox.hpp" XBT_LOG_NEW_DEFAULT_SUBCATEGORY(msg_mailbox, msg, "Logging specific to MSG (mailbox)"); @@ -25,8 +26,7 @@ XBT_LOG_NEW_DEFAULT_SUBCATEGORY(msg_mailbox, msg, "Logging specific to MSG (mail */ void MSG_mailbox_set_async(const char *alias){ simgrid::s4u::MailboxPtr mailbox = simgrid::s4u::Mailbox::byName(alias); - - simcall_mbox_set_receiver(mailbox->getImpl(), SIMIX_process_self()); + mailbox->setReceiver(simgrid::s4u::Actor::self()); XBT_VERB("%s mailbox set to receive eagerly for myself\n",alias); }