On action permutation and progress for a type system with partially commutative asynchronous binary sessions Online publication date: Wed, 15-Apr-2015
by Zhenguo Yang; Farong Zhong; Jinfang Zhang; Tiantian Song
International Journal of Computational Science and Engineering (IJCSE), Vol. 10, No. 3, 2015
Abstract: A type system with asynchronous binary sessions is generalised by asynchronous communication subtyping, which actually permutes and optimises the actions on each participant. With the types of messages being distinguished between dependent and independent types, a series of action asynchronous subtyping rules for the two kinds of message types are proposed, respectively. To make such action permutations automatic, an algorithmic asynchronous subtyping is introduced, associating the subtyping for session types with asynchronous communication subtyping. However, action permutation and optimisation will change the sequence and structure of messages sent and received. To ensure runtime safety, the cases of communication errors that may occur in asynchronous sessions are revealed by examples. In addition, the type compliance we defined assures the progress property, i.e., once a communication has been established, well-formed programmes will never starve at communication points. Finally, the soundness and communication safety of the type system are proved, and some possible future work in this field is discussed.
Existing subscribers:
Go to Inderscience Online Journals to access the Full Text of this article.
If you are not a subscriber and you just want to read the full contents of this article, buy online access here.Complimentary Subscribers, Editors or Members of the Editorial Board of the International Journal of Computational Science and Engineering (IJCSE):
Login with your Inderscience username and password:
Want to subscribe?
A subscription gives you complete access to all articles in the current issue, as well as to all articles in the previous three years (where applicable). See our Orders page to subscribe.
If you still need assistance, please email subs@inderscience.com