标签:进制 进程 protected cti val roc RoCE 线程安全的字典 iat
TSynDictionary
mormot.core.json.pas
/// thread-safe dictionary to store some values from associated keys
// - will maintain a dynamic array of values, associated with a hash table
// for the keys, so that setting or retrieving values would be O(1)
// - all process is protected by a TSynLocker, so will be thread-safe
// - TDynArray is a wrapper which do not store anything, whereas this class
// is able to store both keys and values, and provide convenient methods to
// access the stored data, including JSON serialization and binary storage
TSynDictionary = class(TSynLocked)
///线程安全的字典,用于存储关联键的一些值
// -将维护一个与散列表关联的动态值数组
//用于键,因此设置或检索值将是O(1)
// -所有进程都由TSynLocker保护,因此是线程安全的
// - TDynArray是一个包装器,它不存储任何东西,而这个类
//能够存储键和值,并提供方便的方法
//访问存储的数据,包括JSON序列化和二进制存储
标签:进制 进程 protected cti val roc RoCE 线程安全的字典 iat
原文地址:https://www.cnblogs.com/hnxxcxg/p/14072844.html