This paper considers the challenging problem of establishing deadlock freedom for message-passing processes using behavioral type systems. In particular, we consider the case of processes that implement session types by communicating asynchronously in cyclic process networks. We present APCP, a typed process framework for deadlock freedom which supports asynchronous communication, delegation, recursion, and a general form of process composition that enables specifying cyclic process networks. We discuss the main decisions involved in the design of APCP and illustrate its expressiveness and flexibility using several examples.
翻译:本文探讨了利用行为型系统为信息传递过程建立僵局自由这一具有挑战性的问题,特别是,我们考虑了通过在循环过程网络中不同步地进行沟通来实施会议类型的进程的情况,我们提出了APCP,这是一个为僵局自由打字的程序框架,它支持不同步的通信、授权、循环和总的程序构成形式,它能够具体确定循环过程网络。我们讨论了在设计APCP过程中涉及的主要决定,并用几个例子说明其表达性和灵活性。