ISSN : 1796-217X
Volume : 4    Issue : 4    Date : June 2009

Assuring Structural Parallel Programs based on Scoped Permissions
Yang Zhao, Ligong Yu, Gongxuan Zhang, and Jia Bei
Page(s): 283-290
Full Text:
PDF (412 KB)

This paper proposes a “scoped permission” system for a simple object-oriented language with
sharedmemory and structural parallelism. The permission is abstracted as a linear value
associated with some piece of state in a program and it is normally adopted in program analysis
and verification. In this paper, the permission nesting is utilized to model the protection mechanism
associated with field instances, while the partial order among different locks is specified when
parallel executions start. By generating and eliminating shared facts, the order in our system is
designed to be scoped and mutable. We show the operational semantics as well as some
permission rules, and demonstrate how to interpret program annotations into permission

Index Terms
scoped permission, structural parallelism, nesting, program annotations