首页>
外国专利>
Reader bias based locking technique enabling high read concurrency for read-mostly workloads
Reader bias based locking technique enabling high read concurrency for read-mostly workloads
展开▼
机译:基于读取的基于偏置锁定技术,实现高读取的并发性以获取读取的工作负载
展开▼
页面导航
摘要
著录项
相似文献
摘要
A data object has a lock and a condition indicator associated with it. Based at least partly on detecting a first setting of the condition indicator, a reader stores an indication that the reader has obtained read access to the data object in an element of a readers structure and reads the data object without acquiring the lock. A writer detects the first setting and replaces it with a second setting, indicating that the lock is to be acquired by readers before reading the data object. Prior to performing a write on the data object, the writer verifies that one or more elements of the readers structure have been cleared.
展开▼