【24h】

Dynamic Multirole Session Types

机译:动态MultiRole会话类型

获取原文

摘要

Multiparty session types enforce structured sate communications between several participants, as long as their number is fixed when the session starts. In order to handle common distributed interaction patterns such as peer-to-peer protocols or cloud algorithms, we propose a new role-based multiparty session type theory where roles are defined as classes of local behaviours that an arbitrary number of participants can dynamically join and leave. We offer programmers a polling operation that gives access to the current set of a role's participants in order to fork processes. Our type system with universal types for polling can handle this dynamism and retain type safety. A multiparty locking mechanism is introduced to provide communication safety, but also to ensure a stronger progress property for joining participants that has never been guaranteed in previous systems. Finally, we present some implementation mechanisms used in our prototype extension of ML.
机译:多百方会话类型强制执行若干参与者之间的结构化Sate通信,只要它们的号码在会话开始时修复。为了处理诸如点对点协议或云算法之类的常见分布式交互模式,我们提出了一种新的基于角色的多方会话类型理论,其中角色被定义为任意数量的参与者可以动态连接的本地行为的类别离开。我们为程序员提供了一个轮询操作,可以访问当前角色参与者的参与者,以便叉程。我们的类型系统具有通用类型的轮询,可以处理这种动力和保留型安全性。引入多封锁定机制以提供通信安全性,同时也可以确保加入在先前系统中从未保证的参与者的进展属性更强。最后,我们介绍了我们ML的原型扩展中使用的一些实现机制。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号