ABC++- CONCURRENCY BY INHERITANCE IN C++

被引:15
|
作者
ARJOMANDI, E
OFARRELL, W
KALAS, I
KOBLENTS, G
EIGLER, FC
GAO, GR
机构
[1] IBM CANADA LTD,CTR ADV STUDIES,N YORK,ON M3C 1V7,CANADA
[2] MCGILL UNIV,SCH COMP SCI,MONTREAL,PQ H3A 2A7,CANADA
关键词
D O I
10.1147/sj.341.0120
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Many attempts have been made to add concurrency to C++, often by extensive compiler extensions, but much of the work has not exploited the power of C++. This paper shows how the object-oriented facilities of C++ are powerful enough to encapsulate concurrency creation and control. We have developed a concurrent C++-based prototype system (ABC++) and describe how we can provide, with a standard compiler, almost all of the functionality offered by a new or extended language. Active objects, object distribution, selective method acceptance, and synchronous and asynchronous object interaction are supported. Concurrency control and synchronization are encapsulated at the active object level. The goal of ABC++ is to allow users to write concurrent programs without dealing with explicit synchronization and mutual exclusion constructs, with as few restrictions on the use of C++ as possible. ABC++ can be implemented on either a shared memory multiprocessor or a cluster of homogeneous workstations. It is presently implemented on a network of RISC System/6000(R) processors and on the IBM Scalable POWERparallel(TM) System 1 (SP1(TM)).
引用
收藏
页码:120 / 137
页数:18
相关论文
共 50 条
  • [1] CONCURRENCY ANNOTATIONS IN C++
    BAQUERO, C
    MOURA, F
    [J]. SIGPLAN NOTICES, 1994, 29 (07): : 61 - 67
  • [2] Library Abstraction for C/C++ Concurrency
    Batty, Mark
    Dodds, Mike
    Gotsman, Alexey
    [J]. ACM SIGPLAN NOTICES, 2013, 48 (01) : 235 - 248
  • [3] Foundations of the C++ concurrency memory model
    Boehm, Hans-J.
    Adve, Sarita V.
    [J]. ACM SIGPLAN NOTICES, 2008, 43 (06) : 68 - 78
  • [4] Effective Stateless Model Checking for C/C++ Concurrency
    Kokologiannakis, Michalis
    Lahav, Ori
    Sagonas, Konstantinos
    Vafeiadis, Viktor
    [J]. PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL, 2018, 2 (02):
  • [5] USING MULTIPLE INHERITANCE IN C++
    CARGILL, T
    [J]. DR DOBBS JOURNAL, 1992, 17 (12): : S48 - S51
  • [6] A CONCURRENCY-CONTROL MECHANISM FOR C++ OBJECTS
    SALEH, H
    GAUTRON, P
    [J]. LECTURE NOTES IN COMPUTER SCIENCE, 1992, 612 : 195 - 210
  • [7] A PRACTICAL EXAMPLE OF MULTIPLE INHERITANCE IN C++
    WIENER, RS
    PINSON, LJ
    [J]. SIGPLAN NOTICES, 1989, 24 (09): : 112 - 115
  • [8] MU-C++ - CONCURRENCY IN THE OBJECT-ORIENTED LANGUAGE C++
    BUHR, PA
    DITCHFIELD, G
    STROOBOSSCHER, RA
    YOUNGER, BM
    ZARNKE, CR
    [J]. SOFTWARE-PRACTICE & EXPERIENCE, 1992, 22 (02): : 137 - 172
  • [9] Clarifying and Compiling C/C++ Concurrency: from C++11 to POWER
    Batty, Mark
    Memarian, Kayvan
    Owens, Scott
    Sarkar, Susmit
    Sewell, Peter
    [J]. ACM SIGPLAN NOTICES, 2012, 47 (01) : 509 - 520
  • [10] INHERITANCE OF SYNCHRONIZATION AND RECOVERY PROPERTIES IN AVALON/C++
    DETLEFS, DL
    HERLIHY, MP
    WING, JM
    [J]. COMPUTER, 1988, 21 (12) : 57 - 69