We view channels as the main form of resources in a message-passing programming paradigm. These channels need to be carefully managed in settings where resources are scarce. To study this problem, we extend the pi-calculus with primitives for channel allocation and deallocation and allow channels to be reused to communicate values of different types. Inevitably, the added expressiveness increases the possibilities for runtime errors. We define a substructural type system which combines uniqueness typing and affine typing to reject these ill-behaved programs.
CITATION STYLE
De Vries, E., Francalanza, A., & Hennessy, M. (2010). Uniqueness typing for resource management in message-passing concurrency. In Electronic Proceedings in Theoretical Computer Science, EPTCS (Vol. 22, pp. 26–37). Open Publishing Association. https://doi.org/10.4204/EPTCS.22.3
Mendeley helps you to discover research relevant for your work.