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

全存储排序(TSO)语义下的可达性与安全博弈

Reachability and Safety Games under TSO Semantics

Stephan Spengler

AI总结:

该研究针对TSO弱内存模型下并发程序的可达性与安全博弈,证明其可归约为单进程程序分析且为有限状态,引入公平性约束后两类问题均变为不可判定。

摘要:

我们研究在全存储排序(Total Store Order,TSO)弱内存模型下运行的并发程序的转移图上进行的博弈。博弈常被用于建模系统与其环境间的交互,在此场景中则对应并发进程与非确定性TSO缓冲区更新之间的交互。在我们的构建中,博弈由两名玩家轮流行动:进程玩家可执行进程的任意已启用指令,而更新玩家负责更新每个进程与共享内存之间的缓冲区中的消息。我们证明该博弈的可达性问题与安全问题可归约为单进程(非并发)程序的分析,具体而言,它们仅表现出有限状态行为。基于此,我们引入了不同的公平性概念,以迫使两名玩家以更符合实际的方式行动,此时可达性与安全问题均变为不可判定的。

英文摘要:

We consider games played on the transition graph of concurrent programs running under the Total Store Order (TSO) weak memory model. Games are frequently used to model the interaction between a system and its environment, in this case between the concurrent processes and the nondeterministic TSO buffer updates. In our formulation, the game is played by two players, who alternatingly make a move: The process player can execute any enabled instruction of the processes, while the update player takes care of updating the messages in the buffers that are between each process and the shared memory. We show that the reachability and safety problem of this game reduce to the analysis of single-process (non-concurrent) programs. In particular, they exhibit only finite-state behaviour. Because of this, we introduce different notions of fairness, which force the two players to behave in a more realistic way. Both the reachability and safety problem then become undecidable.

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

↑