Multi-threaded Active Objects

被引:0
|
作者
Henrio, Ludovic [1 ]
Huet, Fabrice [1 ]
Istvan, Zsolt [2 ]
机构
[1] Univ Nice Sophia Antipolis, INRIA CNRS I3S, Nice, France
[2] Swiss Fed Inst Technol, Dept Comp Sci, Zurich, Switzerland
关键词
Concurrency and distribution; active-objects; multicore architectures; CONCURRENCY;
D O I
暂无
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Active objects offer a paradigm which simplifies writing distributed applications. Since each active object has a single thread of control, data races are prevented. However, this programming model has its limitations: it is deadlock-prone, and it is not efficient on multicore machines. To overcome these limitations, we present an extension of the active object model, called multi-active objects, that allows each activity to be multi-threaded. The new model is implemented as a Java library; it relies on method annotations to decide which requests can be run in parallel. It provides implicit parallelism, sparing the programmer from low-level concurrency mechanisms. We define the operational semantics of the multi-active objects and study the basic properties of this model. Finally, we show with two applications that our approach is easy to program and efficient.
引用
收藏
页码:90 / 104
页数:15
相关论文
共 50 条
  • [1] Agents as multi-threaded logical objects
    Clark, K
    Robinson, PJ
    [J]. COMPUTATIONAL LOGIC: LOGIC PROGRAMMING AND BEYOND, PT I: ESSAYS IN HONOUR OF ROBERT A KOWALSKI, 2002, 2407 : 33 - 65
  • [2] Multi-threaded reachability
    Sahoo, D
    Jain, J
    Iyer, SK
    Dill, DL
    Emerson, EA
    [J]. 42ND DESIGN AUTOMATION CONFERENCE, PROCEEDINGS 2005, 2005, : 467 - 470
  • [3] Multi-Threaded Actors
    Azadbakht, Keyvan
    de Boer, Frank S.
    Serbanescu, Vlad
    [J]. ELECTRONIC PROCEEDINGS IN THEORETICAL COMPUTER SCIENCE, 2016, (223): : 51 - 66
  • [4] On multi-threaded paging
    Feuerstein, E
    de Loma, AS
    [J]. ALGORITHMS AND COMPUTATION, 1996, 1178 : 417 - 426
  • [5] Input-driven Active Testing of Multi-threaded Programs
    Yue, Han
    Wu, Peng
    Chen, Tsong-Yueh
    Lv, Yi
    [J]. 2015 22ND ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE (APSEC 2015), 2015, : 246 - 253
  • [6] Multi-Threaded Graph Partitioning
    LaSalle, Dominique
    Karypis, George
    [J]. IEEE 27TH INTERNATIONAL PARALLEL AND DISTRIBUTED PROCESSING SYMPOSIUM (IPDPS 2013), 2013, : 225 - 236
  • [7] A multi-threaded asynchronous language
    Paulino, H
    Marques, P
    Lopes, L
    Vasconcelos, V
    Silva, F
    [J]. PARALLEL COMPUTING TECHNOLOGIES, PROCEEDINGS, 2003, 2763 : 316 - 323
  • [8] A multi-threaded version of MCFM
    John M. Campbell
    R. Keith Ellis
    Walter T. Giele
    [J]. The European Physical Journal C, 2015, 75
  • [9] A multi-threaded version of MCFM
    Campbell, John M.
    Ellis, R. Keith
    Giele, Walter T.
    [J]. EUROPEAN PHYSICAL JOURNAL C, 2015, 75 (06):
  • [10] Toward a multi-threaded glish
    Schiebel, DR
    [J]. ASTRONOMICAL DATA ANALYSIS SOFTWARE AND SYSTEMS XI, 2002, 281 : 164 - 168