A Simple Permission Checking for Structural Parallel Programs

Yang Zhao
{"title":"A Simple Permission Checking for Structural Parallel Programs","authors":"Yang Zhao","doi":"10.1109/ICACTE.2008.50","DOIUrl":null,"url":null,"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.","PeriodicalId":364568,"journal":{"name":"2008 International Conference on Advanced Computer Theory and Engineering","volume":"33 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2008-12-20","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2008 International Conference on Advanced Computer Theory and Engineering","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICACTE.2008.50","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

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.
结构并行程序的简单权限检查
本文提出了一种简化的具有结构化并行和同步的命令式语言“分数权限”型系统。权限是一个线性值,与程序中的某个状态片段相关联,“分数”用于区分读和写,通过它我们可以检查并行线程之间的干扰。为了检测多线程程序中的竞争条件和死锁,我们将表达式和语句转换为操作跟踪,然后并行检查跟踪之间所有可能的交叉。我们将展示操作语义以及一些选定的权限类型规则。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信