X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/5843ccab4e336d47ca34f54e68760ac78d242f36..4fb5244980199691e9976323c2c3a09ebb168242:/include/simgrid/s4u/Mutex.hpp diff --git a/include/simgrid/s4u/Mutex.hpp b/include/simgrid/s4u/Mutex.hpp index 06f04c2aa5..29d9ed1043 100644 --- a/include/simgrid/s4u/Mutex.hpp +++ b/include/simgrid/s4u/Mutex.hpp @@ -6,6 +6,7 @@ #ifndef SIMGRID_S4U_MUTEX_HPP #define SIMGRID_S4U_MUTEX_HPP +#include "simgrid/s4u/Actor.hpp" #include #include @@ -55,6 +56,8 @@ public: void lock(); void unlock(); bool try_lock(); + + Actor* get_owner(); }; } // namespace simgrid::s4u