Invention Grant
- Patent Title: Updating first data value before second data value
- Patent Title (中): 在第二个数据值之前更新第一个数据值
-
Application No.: US12860901Application Date: 2010-08-22
-
Publication No.: US07904438B2Publication Date: 2011-03-08
- 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
- US20100318502A1 UPDATING FIRST DATA VALUE BEFORE SECOND DATA VALUE Public/Granted day:2010-12-16
Information query