X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/1bf8ac043266839571c3a5fa789557fff825db5a..183a6118a95c570b0c66695505dab7dbebc0c7b3:/src/kernel/activity/MailboxImpl.hpp diff --git a/src/kernel/activity/MailboxImpl.hpp b/src/kernel/activity/MailboxImpl.hpp index f62d3266f3..8c4541d611 100644 --- a/src/kernel/activity/MailboxImpl.hpp +++ b/src/kernel/activity/MailboxImpl.hpp @@ -9,6 +9,7 @@ #include #include "simgrid/s4u/Mailbox.hpp" +#include "src/kernel/activity/CommImpl.hpp" #include "src/simix/ActorImpl.hpp" #define MAX_MAILBOX_SIZE 10000000 @@ -30,12 +31,12 @@ public: static MailboxImpl* byNameOrNull(const char* name); static MailboxImpl* byNameOrCreate(const char* name); void setReceiver(s4u::ActorPtr actor); - void push(smx_activity_t synchro); + void push(activity::CommImplPtr comm); void remove(smx_activity_t activity); simgrid::s4u::Mailbox piface_; // Our interface char* name_; - boost::intrusive_ptr permanent_receiver; // process which the mailbox is attached to + simgrid::simix::ActorImplPtr permanent_receiver; // process which the mailbox is attached to boost::circular_buffer_space_optimized comm_queue; boost::circular_buffer_space_optimized done_comm_queue; // messages already received in the permanent receive mode };