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 条
  • [41] Analysis for active network security abased on pi-calculus model
    Xia, ZY
    Zhong, YP
    Zhang, SY
    2003 INTERNATIONAL CONFERENCE ON COMPUTER NETWORKS AND MOBILE COMPUTING, PROCEEDINGS, 2003, : 366 - 371
  • [42] A parallel model on Internet Protocol Security based on Pi-calculus
    Kang, Hui
    Yin, Qiuwen
    Hui, Zi
    Mei, Fang
    PROCEEDINGS FIRST INTERNATIONAL CONFERENCE ON ELECTRONICS INSTRUMENTATION & INFORMATION SYSTEMS (EIIS 2017), 2017, : 360 - 365
  • [43] Compatibility Verification of Web Service Composition Based on Pi-calculus
    Jia, Zhichun
    Xing, Xing
    PROCEEDINGS OF THE 2015 JOINT INTERNATIONAL MECHANICAL, ELECTRONIC AND INFORMATION TECHNOLOGY CONFERENCE (JIMET 2015), 2015, 10 : 244 - 248
  • [44] MODELING AND VERIFYING WEB SERVICES COMPOSITION USING PI-CALCULUS
    Kushwah, Gopal Singh
    Yadav, Dharmendra K.
    PROCEEDINGS OF THE 2011 3RD INTERNATIONAL CONFERENCE ON SOFTWARE TECHNOLOGY AND ENGINEERING (ICSTE 2011), 2011, : 239 - 243
  • [45] Validating trustworthy service composition through VIPLE and pi-calculus
    Zhao S.
    Li Y.
    Wang Y.
    Chen Y.
    International Journal of Simulation and Process Modelling, 2020, 15 (1-2) : 76 - 88
  • [46] Pi-Calculus Based Formal Verification of Web Services Composition
    Agarwal, Saurabh
    Agarwal, Koshel
    INTERNATIONAL JOURNAL OF GRID AND DISTRIBUTED COMPUTING, 2015, 8 (05): : 137 - 140
  • [47] Verification of Secure Gateway Selection Protocol Using PI-Calculus
    Rai, Abhay Kumar
    Tewari, Rajiv Ranjan
    2013 4TH NIRMA UNIVERSITY INTERNATIONAL CONFERENCE ON ENGINEERING (NUICONE 2013), 2013,
  • [48] Business process management - the third wave: business process modelling language (bpml) and its pi-calculus foundations
    Smith, H
    INFORMATION AND SOFTWARE TECHNOLOGY, 2003, 45 (15) : 1065 - 1069
  • [49] Partial Order Reduction for Verification of Spatial Properties of Pi-Calculus Processes
    Affeldt, Reynald
    Kobayashi, Naoki
    ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2005, 128 (02) : 151 - 168
  • [50] E-business Processes Composition Based on Pi-Calculus Technology
    Feng, Zhilin
    Yin, Jianwei
    Zhou, Jianan
    ISISE 2008: INTERNATIONAL SYMPOSIUM ON INFORMATION SCIENCE AND ENGINEERING, VOL 2, 2008, : 224 - +