发明名称 |
COMPUTER SYSTEM FOR PERMITTING EXCLUSIVE ACCESS TO SHARED DATA, METHOD FOR THE COMPUTER SYSTEM, AND COMPUTER READABLE RECORDING MEDIUM |
摘要 |
<p><P>PROBLEM TO BE SOLVED: To provide a mechanism for stopping only a thread in which a fault is caused or a fault may be caused from another thread without stopping the whole system having a locked thread. <P>SOLUTION: A computer system stores a program including a code for a critical section, wherein the critical section includes an instruction for writing or reading a value to/from a shared data area in a memory. The instruction acquires lock for the critical section before the start of an initial instruction in the critical section, writes a value in a thread local area in the memory instead of writing the value in the shared data area in response to a writing instruction to the shared data area, writes the value written in the thread local area in the shared data area in response to the end of a final instruction in the critical section, and unlocks the critical section. <P>COPYRIGHT: (C)2010,JPO&INPIT</p> |
申请公布号 |
JP2010061522(A) |
申请公布日期 |
2010.03.18 |
申请号 |
JP20080228286 |
申请日期 |
2008.09.05 |
申请人 |
INTERNATL BUSINESS MACH CORP <,IBM>, |
发明人 |
NAKAIKE TAKUYA;INAGAKI TATSUSHI;OGASAWARA TAKESHI;SUGANUMA TOSHIO |
分类号 |
G06F9/46;G06F9/52;G06F12/00 |
主分类号 |
G06F9/46 |
代理机构 |
|
代理人 |
|
主权项 |
|
地址 |
|