From: Frederic Suter Date: Tue, 27 Mar 2018 07:18:15 +0000 (+0200) Subject: external projects may refcount Mailboxes too X-Git-Tag: v3.20~624^2~6 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/05cdf981ea4cb66a1236e9ed70b7ea8d6e019b41 external projects may refcount Mailboxes too --- diff --git a/include/simgrid/s4u/forward.hpp b/include/simgrid/s4u/forward.hpp index 233e195a11..09e6af5db5 100644 --- a/include/simgrid/s4u/forward.hpp +++ b/include/simgrid/s4u/forward.hpp @@ -33,6 +33,8 @@ class Host; class Link; class Mailbox; using MailboxPtr = boost::intrusive_ptr; +XBT_PUBLIC void intrusive_ptr_release(Mailbox* m); +XBT_PUBLIC void intrusive_ptr_add_ref(Mailbox* m); class Mutex; class NetZone; class VirtualMachine;