Invention Grant
- Patent Title: Method for allowing exclusive access to shared data
- Patent Title (中): 允许独占访问共享数据的方法
-
Application No.: US12553166Application Date: 2009-09-03
-
Publication No.: US08386720B2Publication Date: 2013-02-26
- Inventor: Tatsushi Inagaki , Takuya Nakaike , Takeshi Ogasawara , Toshio Suganuma
- Applicant: Tatsushi Inagaki , Takuya Nakaike , Takeshi Ogasawara , Toshio Suganuma
- Applicant Address: US NY Armonk
- Assignee: International Business Machines Corporation
- Current Assignee: International Business Machines Corporation
- Current Assignee Address: US NY Armonk
- Agency: Scully, Scott, Murphy & Presser, P.C
- Agent Preston Young, Esq.
- Priority: JP2008-228286 20080905
- Main IPC: G06F12/14
- IPC: G06F12/14

Abstract:
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.
Public/Granted literature
- US20100088476A1 METHOD FOR ALLOWING EXCLUSIVE ACCESS TO SHARED DATA Public/Granted day:2010-04-08
Information query