arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1412.0961cs.PL
收藏

带时间标注的多线程程序无冲突性分析

Analyzing Conflict Freedom For Multi-threaded Programs With Time Annotations

Jingshu Chen, Marie Duflot, Stephan Merz

摘要:

避免访问冲突是多线程程序设计中的一个主要挑战。在实时系统的背景下,可以保证没有冲突的情况下,通过确保没有两个潜在的冲突的访问都是以往任何时候都scheduled concurrent.In本文中,我们分析程序进行时间注释指定的时间执行每个语句。我们提出了一种技术,用于验证一个多线程程序与时间注释是免费的访问冲突。特别是,我们生成的约束,反映了可能的时间表执行程序和所需的属性。然后,我们调用SMT求解器,以验证没有执行引起并发冲突的访问。否则,我们将获得一个显示访问冲突的跟踪。

英文摘要:

Avoiding access conflicts is a major challenge in the design of multi-threaded programs. In the context of real-time systems, the absence of conflicts can be guaranteed by ensuring that no two potentially conflicting accesses are ever scheduled concurrently.In this paper, we analyze programs that carry time annotations specifying the time for executing each statement. We propose a technique for verifying that a multi-threaded program with time annotations is free of access conflicts. In particular, we generate constraints that reflect the possible schedules for executing the program and the required properties. We then invoke an SMT solver in order to verify that no execution gives rise to concurrent conflicting accesses. Otherwise, we obtain a trace that exhibits the access conflict.

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

↑