【24h】

Communicating Parallel Processes

机译:并行流程通信

获取原文
获取原文并翻译 | 示例

摘要

CSP has proven to be a highly influential language design. An enormous body of research has grown up dealing with variants and derivatives of CSP, concerning logics, semantic models, and specification and verification of program properties by automated techniques. We have re-examined some language design alternatives from the original paper. We have shown that it is possible to build a simple and flexible semantic framework based on asynchronous communication and fair parallelism, simultaneously suitable for interpreting shared-variable programs and communicating processes. Despite being based "only" on a form of traces, our semantics provides a proper account of deadlock and divergence. In certain respects our framework has advantages: a natural account of fairness, and a unification of paradigms belied by the disparate collection of semantic models that evolved historically. This reaffirmation of the common roots of these paradigms, along with the simplicity and generality of our framework, are surely resonant of Tony Hoare's philosophy. Our semantics may be recast into a relationally parametric setting. This permits an elegant generalization of the principle of representation independence, yielding a link to another important early paper of Hoare, on proving the correctness of data representations. The traditional CSP models were developed within the established bounds of Scott-Strachey denotational semantics: program constructs were taken to denote continuous functions on a semantic domain, and recursive definitions were interpreted as least fixed-points. Relying implicitly on the finitistic nature of the failures model, Hoare's book showed how to reason algebraically about processes, taking advantage of the fact that (in the failures semantics) any guarded recursive definition has a unique solution. We cannot immediately adopt such an approach in our idealized setting, since our incorporation of fairness means that our model is no longer finitistic, and guarded equations may have more than one solution. Despite these complications one can develop a straightforward style of reasoning about fair recursive processes, as outlined in. The key is to use a form of fair expansion for recursive processes that meshes properly with fair parallel composition.
机译:CSP已被证明是一种很有影响力的语言设计。关于CSP的变体和派生类,涉及逻辑,语义模型以及通过自动技术对程序属性进行规范和验证的大量研究已经长大。我们已经从原始论文中重新审查了一些语言设计替代方案。我们已经表明,有可能基于异步通信和公平并行性构建一个简单而灵活的语义框架,同时适用于解释共享变量程序和通信过程。尽管“仅”基于某种形式的痕迹,但我们的语义提供了对死锁和发散的正确解释。在某些方面,我们的框架具有一些优点:对公平性的自然解释,以及因历史演变而来的语义模型的不同集合所掩盖的范式的统一。对这些范式的共同根源的再确认,以及我们框架的简单性和通用性,无疑与托尼·霍尔的哲学相呼应。我们的语义可能会重铸为相关的参数设置。这可以很好地概括表示独立性的原理,从而链接到Hoare的另一篇重要的早期论文,以证明数据表示的正确性。传统的CSP模型是在Scott-Strachey指称语义的既定范围内开发的:采用程序结构表示语义域上的连续函数,并将递归定义解释为最小不动点。 Hoare的书隐含地依靠故障模型的确定性,展示了如何利用故障(在故障语义上)有保护的递归定义具有唯一解决方案这一事实,对流程进行代数推理。我们不能在理想化的环境中立即采用这种方法,因为我们纳入公平性意味着我们的模型不再是有限论的,而且保护方程可能有多个解决方案。尽管存在这些复杂性,但仍可以开发出一种关于公平递归过程的简单推理方式,如概述所述。关键是对递归过程使用一种公平扩张的形式,该形式应与公平并行组成正确地啮合。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号