refs #495 Using LockFree to make CCached::get() threadsafe.

This commit is contained in:
Mathew Sutcliffe
2015-10-18 21:53:32 +01:00
parent 0dec51beb6
commit 21d61e1def
3 changed files with 13 additions and 12 deletions

View File

@@ -57,6 +57,7 @@ namespace BlackMisc
Element &createElement(const QString &key, int metaType, Validator validator, const CVariant &defaultValue, NotifySlot slot);
//! Read the currently paged value corresponding to the element's key.
//! \threadsafe
const CVariant &getValue(const Element &element) const;
//! Write the value corresponding to the element's key and begin synchronizing it to any other pages.