发明名称 |
METHOD FOR ALLOWING EXCLUSIVE ACCESS TO SHARED DATA |
摘要 |
A method of allowing exclusive access to shared data by a computing device and a computer readable article embodying instructions for executing the method. The method includes: reading from a storage unit into a memory a program including a code for execution in a critical section and an instruction to write a value into or read a value from a shared data area in the memory; acquiring a lock on the critical section before start of a first instruction in the critical section; writing a value into a thread-local area in the memory in response to an instruction to write the value into the shared data area; writing into the shared data area the value written into the thread-local area upon completion of a final instruction in the critical section; and releasing the lock on the critical section, thereby allowing exclusive access to shared data.
|
申请公布号 |
US2010088476(A1) |
申请公布日期 |
2010.04.08 |
申请号 |
US20090553166 |
申请日期 |
2009.09.03 |
申请人 |
INTERNATIONAL BUSINESS MACHINES CORPORATION |
发明人 |
INAGAKI TATSUSHI;NAKAIKE TAKUYA;OGASAWARA TAKESHI;SUGANUMA TOSHIO |
分类号 |
G06F12/00 |
主分类号 |
G06F12/00 |
代理机构 |
|
代理人 |
|
主权项 |
|
地址 |
|