Serializing resource utilization using hardware built-in functions
US9477696B2 · kind B2 · utility
Assignee
Inventors
Key dates
| Filing date | Mar 12, 2014 |
| Grant date | Oct 25, 2016 |
| Priority date | — |
| Expiry date | Mar 20, 2035 |
Classification
- Technology area (CPC G)Physics
- CPC primaryG06F16/23
- WIPO fieldComputer technology
- WIPO sectorElectrical engineering
Abstract
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.
Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.