From: Leonid Usov Date: Sun, 3 Dec 2023 08:49:19 +0000 (+0200) Subject: common/Cond: make C_SaferCond private members protected to facilitate inheritance X-Git-Tag: v20.0.0~2418^2~22 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=71f12805055996d01599023f1caa09a2c95cedc8;p=ceph.git common/Cond: make C_SaferCond private members protected to facilitate inheritance Signed-off-by: Leonid Usov --- diff --git a/src/common/Cond.h b/src/common/Cond.h index f41d0bf40702..2ea4b9e2de95 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