From a96e26ff15dd5d48733acd05d4969acb518a5b81 Mon Sep 17 00:00:00 2001 From: William Katz Date: Mon, 19 Apr 2021 22:42:59 -0700 Subject: [PATCH] Updated comment --- include/bank.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/bank.hpp b/include/bank.hpp index f7aa24c..c4a4bfe 100644 --- a/include/bank.hpp +++ b/include/bank.hpp @@ -19,7 +19,7 @@ private: users; /** - * @brief size_lock should be grabbed if the operation MODIFIES the size (unique) or READS from the users where size changes could distort (shared) + * @brief size_lock should be grabbed if the operation MODIFIES the size (shared), this is so that when save claims unique * */ std::shared_mutex size_lock;