From b438b2b35aaf4f24731fb8ce44f3ca7e763f9421 Mon Sep 17 00:00:00 2001 From: Relintai Date: Sun, 11 May 2025 11:50:20 +0200 Subject: [PATCH] Improve comment. --- modules/users/users/user.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/users/users/user.cpp b/modules/users/users/user.cpp index a0c3f1fad..314c55891 100644 --- a/modules/users/users/user.cpp +++ b/modules/users/users/user.cpp @@ -195,9 +195,9 @@ void User::from_dict(const Dictionary &dict) { } Dictionary User::_to_dict() { - // RW Locks are not re-entrant (read_locking would likely work), but since concurrency is hard + // RW Lock writes are not re-entrant (read locking would work), but since concurrency is hard // api consistency is important. These types of classes hould always be locked from the outside. - // Use read_lock() in the caller and do all read operations that you want. + // Use read_lock() in the caller and then do all read operations that you want. Dictionary dict;