Invention Grant
US07836034B2 Method and apparatus for updating first data value before second data value
有权
用于在第二数据值之前更新第一数据值的方法和装置
- Patent Title: Method and apparatus for updating first data value before second data value
- Patent Title (中): 用于在第二数据值之前更新第一数据值的方法和装置
-
Application No.: US11129803Application Date: 2005-05-16
-
Publication No.: US07836034B2Publication Date: 2010-11-16
- Inventor: Paul E. McKenney
- Applicant: Paul E. McKenney
- Applicant Address: US NY Armonk
- Assignee: International Business Machines Corporation
- Current Assignee: International Business Machines Corporation
- Current Assignee Address: US NY Armonk
- Agent Steven Lieske Bennett
- Main IPC: G06F7/00
- IPC: G06F7/00 ; G06F17/30 ; G06F15/16

Abstract:
A flag and a wait period are used to guarantee that readers of two data values see the updated first value before they see the updated second value, where the second value has to be updated after the first value is updated and thus is dependent on the first value. The first value is updated, and a flag associated with the first data value is set. The flag effectively prevents further updating of the first data value until it has been cleared. A length of time is waited for, such that any reading of the first data value and the second data value is guaranteed to not see the second data value as updated unless the first data value is also seen as updated. The flag is then cleared, such that further updating of the first data value can again occur. The second data value is finally updated.
Public/Granted literature
- US20060259520A1 Method and apparatus for updating first data value before second data value Public/Granted day:2006-11-16
Information query