首页    期刊浏览 2024年09月18日 星期三
登录注册

文章基本信息

  • 标题:Interference Verification for Structural Parallel Programs
  • 本地全文:下载
  • 作者:Zhao, Yang
  • 期刊名称:Journal of Software
  • 印刷版ISSN:1796-217X
  • 出版年度:2012
  • 卷号:7
  • 期号:8
  • 页码:1889-1896
  • DOI:10.4304/jsw.7.8.1889-1896
  • 语种:English
  • 出版社:Academy Publisher
  • 摘要:This paper presents a simplified "fractional permission" type system for a toy imperative language with structured parallelism and synchronization. In this system, we make the permission as a kind of linear values associated with some piece of state in a program. Different permissions permit different operations and "fractions" are attached to permissions to distinguish reads from writes, with which we are able to check interference among parallel threads. The main purpose is to detect race conditions and deadlocks in a multithreaded program. Program expressions and statements are transformed into action traces, then we permission-check all possible interleavings among traces in parallel. Operational semantics as well as permission type rules are provided and a type soundness result is then established.
  • 关键词:fractional permission;structural parallelism;action trace
国家哲学社会科学文献中心版权所有