Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[s4u] .notify_one() instead of .notify()
[simgrid.git] / include / simgrid / s4u / conditionVariable.hpp
index 0c34c92..4d59c28 100644 (file)
@@ -84,9 +84,12 @@ public:
 
   // Notify functions
 
-  void notify();
+  void notify_one();
   void notify_all();
 
+  XBT_ATTRIB_DEPRECATED("Use notify_one() instead")
+  void notify() { notify_one(); }
+
 private:
   smx_cond_t cond_;