X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/d756f639a47486f3266eb84367ec2dfb707cda25..32db5a3c200f56f6c965eeddc14e6f88341acbe8:/src/kernel/activity/MailboxImpl.hpp diff --git a/src/kernel/activity/MailboxImpl.hpp b/src/kernel/activity/MailboxImpl.hpp index ffdbbb0570..b88d28d22e 100644 --- a/src/kernel/activity/MailboxImpl.hpp +++ b/src/kernel/activity/MailboxImpl.hpp @@ -36,11 +36,11 @@ public: static MailboxImpl* by_name_or_null(const std::string& name); static MailboxImpl* by_name_or_create(const std::string& name); void set_receiver(s4u::ActorPtr actor); - void push(activity::CommImplPtr comm); - void remove(smx_activity_t activity); - smx_activity_t iprobe(int type, int (*match_fun)(void*, void*, CommImpl*), void* data); - CommImplPtr find_matching_comm(e_smx_comm_type_t type, int (*match_fun)(void*, void*, CommImpl*), - void* this_user_data, CommImplPtr my_synchro, bool done, bool remove_matching); + void push(CommImplPtr comm); + void remove(const CommImplPtr& comm); + CommImplPtr iprobe(int type, int (*match_fun)(void*, void*, CommImpl*), void* data); + CommImplPtr find_matching_comm(CommImpl::Type type, int (*match_fun)(void*, void*, CommImpl*), void* this_user_data, + const CommImplPtr& my_synchro, bool done, bool remove_matching); private: simgrid::s4u::Mailbox piface_; @@ -48,9 +48,9 @@ private: public: simgrid::kernel::actor::ActorImplPtr permanent_receiver_; // actor to which the mailbox is attached - boost::circular_buffer_space_optimized comm_queue_; - boost::circular_buffer_space_optimized - done_comm_queue_; // messages already received in the permanent receive mode + boost::circular_buffer_space_optimized comm_queue_; + boost::circular_buffer_space_optimized done_comm_queue_; // messages already received in the permanent + // receive mode }; } }