arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2311.15250cs.LO
收藏

Rely/Guarantee、精化与ABA问题:第一部分

Rely/Guarantee, Refinement and the ABA Problem: Part 1

Nisansala P. Yatapanage

AI总结:

本文探讨ABA问题在非阻塞并发数据结构中的影响,利用guarantee条件推理并发进程的未检测更改,揭示了rely/guarantee精化与可线性化性之间的强关系。

摘要:

Rely/guarantee推理提供了一种关于并发的组合式推理方法。ABA问题出现在许多非阻塞并发数据结构中,此时并发进程所做的更改可能未被其他进程检测到。Guarantee条件为推理此类更改提供了有用的机制,Treiber栈和Herlihy-Wing队列这两个非阻塞示例证明了这一点。ABA问题可以通过程序执行的一个步骤来识别,在该步骤中,前状态和后状态不对应于顺序级别的有效步骤。因此,这种无效行为与guarantee条件的失败有关。由于此类行为是不可线性化的,这表明带有rely/guarantee的精化与可线性化性之间存在强关系。

英文摘要:

Rely/guarantee reasoning provides a compositional way of reasoning about concurrency. The ABA problem occurs in many non-blocking concurrent data structures, where a change made by a concurrent process may be undetected by other processes. Guarantee conditions provide a useful mechanism for reasoning about such changes, as is demonstrated by two non-blocking examples, the Treiber stack and the Herlihy-Wing queue. The ABA problem can be identified by the program making a step where the before and after states do not correspond to a valid step at the sequential level. Therefore, such invalid behaviour relates to a failure of the guarantee condition. As such behaviour is non-linearisable, this suggests a strong relationship between refinement with rely/guarantee and linearisability.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑