发明名称 Updating first data value before second data value
摘要 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.
申请公布号 US7904438(B2) 申请公布日期 2011.03.08
申请号 US20100860901 申请日期 2010.08.22
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 MCKENNEY PAUL E.
分类号 G06F7/00;G06F15/16;G06F17/30 主分类号 G06F7/00
代理机构 代理人
主权项
地址