From b51fb1c4719536026f0111899971c418645e8507 Mon Sep 17 00:00:00 2001 From: Leonid Usov Date: Sun, 3 Dec 2023 10:49:19 +0200 Subject: [PATCH] common/Cond: make C_SaferCond private members protected to facilitate inheritance Signed-off-by: Leonid Usov (cherry picked from commit 71f12805055996d01599023f1caa09a2c95cedc8) --- src/common/Cond.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/common/Cond.h b/src/common/Cond.h index f41d0bf4070..2ea4b9e2de9 100644 --- a/src/common/Cond.h +++ b/src/common/Cond.h @@ -74,6 +74,7 @@ public: * until wait() returns. */ class C_SaferCond : public Context { +protected: ceph::mutex lock; ///< Mutex to take ceph::condition_variable cond; ///< Cond to signal bool done = false; ///< true after finish() has been called -- 2.39.5