Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
SIMIX_mutex_{un}ref become MutexImpl::{un}ref
[simgrid.git] / src / kernel / activity / MutexImpl.hpp
index 613d799..52256b0 100644 (file)
@@ -25,6 +25,8 @@ public:
   bool try_lock(smx_actor_t issuer);
   void unlock(smx_actor_t issuer);
 
+  MutexImpl* ref();
+  void unref();
   bool locked       = false;
   smx_actor_t owner = nullptr;
   // List of sleeping processes: