Title :
A Simple Permission Checking for Structural Parallel Programs
Author_Institution :
Nanjing Univ. of Sci. & Technol., Nanjing
Abstract :
This paper presents a simplified "fractional permission\´" type system for an imperative language with structured parallelism and synchronization. A permission is a linear value associated with some piece of state in a program and "fractions\´\´ are used to distinguish reads from writes, with which we are able to check interference among parallel threads. In order to detect race conditions and deadlocks in a multithreaded program, we transform expressions and statements into action traces, then permission check all possible interleavings among traces in parallel. We show the operational semantics as well as some selected permission type rules.
Keywords :
high level languages; mathematical programming; parallel programming; fractional permission; imperative language; permission checking; structural parallel programs; Concurrent computing; Interference; Interleaved codes; Logic; Parallel processing; Parallel programming; Permission; Runtime; System recovery; Yarn; Fractional Permission; Structural Parallelism;
Conference_Titel :
Advanced Computer Theory and Engineering, 2008. ICACTE '08. International Conference on
Conference_Location :
Phuket
Print_ISBN :
978-0-7695-3489-3
DOI :
10.1109/ICACTE.2008.50