From a2b0d0714e89cfb07647211134b404d1b6a217d0 Mon Sep 17 00:00:00 2001 From: Wojtek Figat Date: Mon, 9 Feb 2026 15:03:54 +0100 Subject: [PATCH] Add more docs about new `ConcurrentDictionary` --- Source/Engine/Threading/ConcurrentDictionary.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/Engine/Threading/ConcurrentDictionary.h b/Source/Engine/Threading/ConcurrentDictionary.h index 22395d798..1b78a735e 100644 --- a/Source/Engine/Threading/ConcurrentDictionary.h +++ b/Source/Engine/Threading/ConcurrentDictionary.h @@ -7,6 +7,8 @@ /// /// Template for unordered dictionary with mapped key with value pairs that supports asynchronous data reading and writing. +/// Implemented via reader-writer lock pattern, so multiple threads can read data at the same time, but only one thread can write data and it blocks all other threads (including readers) until the write operation is finished. +/// Optimized for frequent reads (no lock operation). /// /// The type of the keys in the dictionary. /// The type of the values in the dictionary.