Compiling the pi-calculus into a Multithreaded Typed Assembly Language

被引:1
作者
Cogumbreiro, Tiago [1 ]
Martins, Francisco [1 ]
Vasconcelos, Vasco T. [1 ]
机构
[1] Univ Lisbon, Fac Sci, Dept Informat, Lisbon, Portugal
关键词
Pi-calculus; multithreaded assembly language; typed assembly language;
D O I
10.1016/j.entcs.2009.06.004
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
We extend a previous work on a multithreaded typed assembly language (MIL) targeted at shared memory multiprocessors, and describe the design of a type-preserving compiler from the pi-calculus into MIL. The language enforces a policy on lock usage through a typing system that also ensures race-freedom for typable programs, while allowing for typing various important concurrency patterns. Our translation to MIL generates code that is then linked to a library supporting a generic unbounded buffer monitor, variant of Hoare's bounded buffer monitor, entirely written in MIL. Such a monitor shields client code (the pi-calculus compiler in particular) from the hazardous task of direct lock manipulation, while allowing for the representation of pi-calculus channels. The compiler produces type correct MIL programs from type correct source code, generating low-contention cooperative multithreaded programs.
引用
收藏
页码:57 / 84
页数:28
相关论文
共 50 条
  • [31] Automatic Service Composition Verification Based on Pi-calculus
    Peng, Yanbin
    Ye, Lv
    Zheng, Zhijun
    Xiang, Jian
    Jiang, Xueqin
    Gao, Ji
    Ai, Jieqing
    Lu, Zhenyu
    Jin, Yu
    2009 INTERNATIONAL CONFERENCE ON E-BUSINESS AND INFORMATION SYSTEM SECURITY, VOLS 1 AND 2, 2009, : 437 - +
  • [32] Investigating Workflow Resource Patterns in term of Pi-calculus
    Xue, Gang
    Lu, Joan
    Gong, Ning
    Yao, Shaowen
    PROCEEDINGS OF THE 2008 12TH INTERNATIONAL CONFERENCE ON COMPUTER SUPPORTED COOPERATIVE WORK IN DESIGN, VOLS I AND II, 2008, : 630 - +
  • [33] A Modal Logic for pi-Calculus and Model Checking Algorithm
    Chen, Taolue
    Han, Tingting
    Lu, Jian
    ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2005, 123 : 19 - 33
  • [34] Analysis and Modeling for Interaction with Mobility Based on Pi-Calculus
    Liu, Yaya
    Jiang, Jiulei
    2016 IEEE 14TH INTL CONF ON DEPENDABLE, AUTONOMIC AND SECURE COMPUTING, 14TH INTL CONF ON PERVASIVE INTELLIGENCE AND COMPUTING, 2ND INTL CONF ON BIG DATA INTELLIGENCE AND COMPUTING AND CYBER SCIENCE AND TECHNOLOGY CONGRESS (DASC/PICOM/DATACOM/CYBERSC, 2016, : 141 - 146
  • [35] A formal model of Forth control words in the pi-calculus
    Power, JF
    Sinclair, D
    JOURNAL OF UNIVERSAL COMPUTER SCIENCE, 2004, 10 (09) : 1272 - 1293
  • [36] User Interface Distribution Method Based on Pi-Calculus
    Sakulin, Sergey
    Alfimtsev, Alexander
    Tipsin, Evgeny
    Devyatkov, Vladimir
    Sokolov, Dmitry
    INTERNATIONAL JOURNAL OF DISTRIBUTED SYSTEMS AND TECHNOLOGIES, 2019, 10 (03) : 1 - 20
  • [37] An Automatic Approach to Transform BPMN Models to Pi-Calculus
    Boussetoua, Riad
    Bennoui, Hammadi
    Chaoui, Allaoua
    Khalfaoui, Khaled
    Kerkouche, Elhillali
    2015 IEEE/ACS 12TH INTERNATIONAL CONFERENCE OF COMPUTER SYSTEMS AND APPLICATIONS (AICCSA), 2015,
  • [38] Describing and Verifying Cryptographic Protocal Using PI-Calculus
    Zhang Xiao-Pei
    Luo Wen-Jun
    Li Xiang
    2008 2ND INTERNATIONAL CONFERENCE ON ANTI-COUNTERFEITING, SECURITY AND IDENTIFICATION, 2008, : 280 - 284
  • [39] Verifying the correctness of GIS service chain based on Pi-Calculus
    Liang, JuanZhu
    INDUSTRIAL INSTRUMENTATION AND CONTROL SYSTEMS, PTS 1-4, 2013, 241-244 : 2923 - 2928
  • [40] Modelling method of dynamic business process based on pi-calculus
    Liu, Yaya
    Jiang, Jiulei
    Li, Weimin
    INTERNATIONAL JOURNAL OF COMPUTATIONAL SCIENCE AND ENGINEERING, 2018, 17 (02) : 146 - 158