一种改进原子性的命令式语言并发模型
A Concurrent Model for Imperative Languages with Improved Atomicity
摘要:
我们提出了一个新的并发模型,并发发生在子程序级别的命令式语言。该模型引入了一个新的{ \it块顺序}语句,其形式为$#(G_1,\ldots,G_n)$,其中每个$G_i$都是一个语句。此语句告诉计算机顺序地、原子地执行$G_1,\ldots,G_n$(\ie,不交错)。因此,它增强了并发编程中的原子性和可预测性。我们通过$C^{\|}$,一个扩展的核心并发C与新的块顺序语句来说明我们的想法。
英文摘要:
We propose a new concurrent model for imperative languages where concurrency occurs at a subprogram level. This model introduces a new {\it block sequential} statement of the form $#(G_1,\ldots,G_n)$ where each $G_i$ is a statement. This statement tells the machine to execute $G_1,\ldots,G_n$ sequentially and atomically (\ie, without interleaving). It therefore enhances atomicity and predictability in concurrent programming. We illustrate our idea via $C^{\|}$, an extension of the core concurrent C with the new block sequential statement.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。