X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/0ce363d7431c7d5bfdadf74b8599c4ec348c82cd..a844d6ba059b98ad6a5317e85a9c69402353b0a9:/include/simgrid/s4u/mailbox.hpp diff --git a/include/simgrid/s4u/mailbox.hpp b/include/simgrid/s4u/mailbox.hpp index eea3e9044b..99f65b49cb 100644 --- a/include/simgrid/s4u/mailbox.hpp +++ b/include/simgrid/s4u/mailbox.hpp @@ -52,14 +52,14 @@ public: bool empty(); /** Returns the first element in the queue, or nullptr if none is there */ - smx_synchro_t front(); + smx_activity_t front(); /** Declare that the specified process is a permanent receiver on that mailbox * * It means that the communications sent to this mailbox will start flowing to its host even before he does a recv(). * This models the real behavior of TCP and MPI communications, amongst other. */ - void setReceiver(Actor* process); + void setReceiver(ActorPtr process); /** Return the process declared as permanent receiver, or nullptr if none **/ ActorPtr receiver();