SetStackLogic:带多重性的栈集合并发算法
Algoritmo Concurrente por Conjuntos de Pilas con Multiplicidad: SetStackLogic
AI总结:
本文介绍SetStackLogic算法,一种基于集合并发、实现带多重性栈的算法,通过形式化证明其性质,并用场景示例展示其动态行为。
摘要:
本文旨在描述并解释并发算法和集合并发算法的理论基础,考虑一个异步共享内存系统,其中任意数量的进程都可能崩溃。并发算法的验证通常以其进展条件来描述,该条件保证最终会有好的事情发生,也称为算法的安全性;以及正确性,该条件保证不会有坏的事情发生,也称为算法的活性。本文详细解释了并发算法正确性的含义,重点关注线性化性,并讨论了一种推广——集合并发性,这一概念更为新颖且鲜为人知。文中展示了SetStackLogic算法,这是一种集合并发算法,同时也是带多重性的栈的实现。本文以形式化和详细的方式证明了SetStackLogic算法的性质,以呈现此类算法形式化中的严格框架;该框架也可用于其他算法。此外,通过场景示例解释了算法的运行,这些示例展示了其在某些可能执行中的动态行为。
英文摘要:
This article aims to describe and explain the theoretical foundations of concurrent and set concurrent algorithms, considering an asynchronous shared memory system where any number of processes can crash. Verification of concurrent algorithms is often described in terms of their progress condition, which guarantees that eventually something good will happen, also called the security of the algorithms, and correctness, which guarantees that nothing bad will happen, also called liveliness. of the algorithms. The meaning of correctness of a concurrent algorithm is explained in detail, focusing on linearizability, and a generalization is addressed, concurrency by sets; which is much more recent and less well known. The {\it SetStackLogic} algorithm is shown, which is a set-concurrent algorithm and is also an implementation of a stack with multiplicity. The properties of the algorithm {\it SetStackLogic} are demonstrated in a formal and detailed way, in order to present a rigorous scheme in the formalization of this type of algorithm; same that could be used for other algorithms. In addition, the operation of the algorithm is explained through scenario examples that illustrate its dynamics in some possible executions.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。