参数化程序活性的证明
Proving Liveness of Parameterized Programs
摘要:
多线程程序的正确性通常要求它们满足活性属性。例如,程序可能要求没有线程缺少共享资源,或者所有线程最终都同意一个值。本文提出了一种方法来证明这样的活性性质举行。在这项工作中解决的两个特殊挑战是:(1)正确性论证可能依赖于系统的全局行为(例如,正确性论证可以要求所有线程共同地朝着“好的事情”前进,而不是一个线程前进而其它线程不干扰),以及(2)这样的程序通常被设计成由任何数量的线程执行,并且所期望的活跃度属性必须保持,而不管程序中活动的线程的数量如何。
英文摘要:
Correctness of multi-threaded programs typically requires that they satisfy liveness properties. For example, a program may require that no thread is starved of a shared resource, or that all threads eventually agree on a single value. This paper presents a method for proving that such liveness properties hold. Two particular challenges addressed in this work are that (1) the correctness argument may rely on global behaviour of the system (e.g., the correctness argument may require that all threads collectively progress towards "the good thing" rather than one thread progressing while the others do not interfere), and (2) such programs are often designed to be executed by any number of threads, and the desired liveness properties must hold regardless of the number of threads that are active in the program.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。