From: Martin Quinson Date: Wed, 7 Jun 2017 09:13:26 +0000 (+0200) Subject: Declare and use ActorImplPtr X-Git-Tag: v3.16~111 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/2f4509c52115b8a4fb4916f51057d6b9314b4c45?hp=765ca7ac3efd59d260163fa0a7d34ee2eb674f47;ds=sidebyside Declare and use ActorImplPtr --- diff --git a/include/simgrid/forward.h b/include/simgrid/forward.h index f4fede1504..96e8194eac 100644 --- a/include/simgrid/forward.h +++ b/include/simgrid/forward.h @@ -37,6 +37,8 @@ namespace routing { } } namespace simix { + class ActorImpl; + using ActorImplPtr = boost::intrusive_ptr; class Host; } namespace surf { diff --git a/src/kernel/activity/MailboxImpl.hpp b/src/kernel/activity/MailboxImpl.hpp index 6f13daafe5..8c4541d611 100644 --- a/src/kernel/activity/MailboxImpl.hpp +++ b/src/kernel/activity/MailboxImpl.hpp @@ -36,7 +36,7 @@ public: 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 };