X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/89d7a404bbe64b7f19e6743d2979468f1cac42a2..365a83d3a1407923acccab758f9225e11408b5c6:/include/simgrid/forward.h diff --git a/include/simgrid/forward.h b/include/simgrid/forward.h index ff408d4765..e2a0606227 100644 --- a/include/simgrid/forward.h +++ b/include/simgrid/forward.h @@ -105,6 +105,19 @@ XBT_PUBLIC void intrusive_ptr_release(const Semaphore* m); XBT_PUBLIC void intrusive_ptr_add_ref(const Semaphore* m); class Disk; + +class Task; +/** Smart pointer to a simgrid::s4u::Task */ +using TaskPtr = boost::intrusive_ptr; +XBT_PUBLIC void intrusive_ptr_release(Task* o); +XBT_PUBLIC void intrusive_ptr_add_ref(Task* o); +class ExecTask; +using ExecTaskPtr = boost::intrusive_ptr; +class CommTask; +using CommTaskPtr = boost::intrusive_ptr; +class IoTask; +using IoTaskPtr = boost::intrusive_ptr; + /** * @brief Callback to dynamically change the resource's capacity * @@ -131,6 +144,8 @@ using ActorCodeFactory = std::function args)> class Simcall; class SimcallObserver; +class MutexObserver; +class ConditionVariableObserver; class ObjectAccessSimcallObserver; class ObjectAccessSimcallItem; } // namespace actor @@ -153,6 +168,8 @@ namespace activity { using ConditionVariableImplPtr = boost::intrusive_ptr; XBT_PUBLIC void intrusive_ptr_add_ref(ConditionVariableImpl* cond); XBT_PUBLIC void intrusive_ptr_release(ConditionVariableImpl* cond); + class ConditionVariableAcquisitionImpl; + using ConditionVariableAcquisitionImplPtr = boost::intrusive_ptr; class CommImpl; using CommImplPtr = boost::intrusive_ptr;