发明授权
- 专利标题: Serializing resource utilization using hardware built-in functions
- 专利标题(中): 使用硬件内置功能序列化资源利用
-
申请号: US14206467申请日: 2014-03-12
-
公开(公告)号: US09477696B2公开(公告)日: 2016-10-25
- 发明人: David Helsley , Lawrence Lee
- 申请人: David Helsley , Lawrence Lee
- 申请人地址: US NY New York
- 专利权人: CA, Inc.
- 当前专利权人: CA, Inc.
- 当前专利权人地址: US NY New York
- 代理机构: Baker Botts L.L.P.
- 主分类号: G06F17/30
- IPC分类号: G06F17/30
摘要:
A method includes identifying a first value of a lock word corresponding to a data structure, by a process in a plurality of processes that each have access to the data structure. The method also includes copying the data structure to a corresponding shadow record. The method additionally includes modifying the shadow record with a desired update for the data structure, and atomically updating the data structure and the lock word, by the process, using a hardware built-in function. The updating includes identifying a second value of the lock word and determining whether the first value of the lock word and the second value of the lock word are equivalent. The method additionally includes, in response to determining that the first value of the lock word and the second value of the lock word are equivalent, replacing the data structure with the shadow record and incrementing the lock word.
公开/授权文献
信息查询