Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
attempt to extend S4U to migrate actors
[simgrid.git] / include / simgrid / s4u / conditionVariable.hpp
index 973b982..47451e6 100644 (file)
@@ -23,8 +23,6 @@
 namespace simgrid {
 namespace s4u {
 
-class Mutex;
-
 /** @brief A condition variable
  *  @ingroup s4u_api
  *
@@ -50,6 +48,7 @@ public:
 
   //  Wait functions without time:
 
+  void wait(MutexPtr lock);
   void wait(std::unique_lock<Mutex>& lock);
   template<class P>
   void wait(std::unique_lock<Mutex>& lock, P pred)