发明名称 Concurrency control using slotted read-write locks
摘要 A system and method for concurrency control may use slotted read-write locks. A slotted read-write lock is a lock data structure associated with a shared memory area, wherein the slotted read-write lock indicates whether any thread has a read-lock and/or a write-lock for the shared memory area. Multiple threads may concurrently have the read-lock but only one thread can have the write-lock at any given time. The slotted read-write lock comprises multiple slots, each associated with a single thread. To acquire the slotted read-write lock for reading, a thread assigned to a slot performs a store operation to the slot and then attempts to determine that no other thread holds the slotted read-write lock for writing. To acquire the slotted read-write lock for writing, a thread assigned to a slot sets its write-bit and then attempts to determine that the write-lock is not held.
申请公布号 US8539168(B2) 申请公布日期 2013.09.17
申请号 US20090492613 申请日期 2009.06.26
申请人 DICE DAVID;SHAVIT NIR N.;ORACLE AMERICA, INC. 发明人 DICE DAVID;SHAVIT NIR N.
分类号 G06F12/14 主分类号 G06F12/14
代理机构 代理人
主权项
地址