CONCURRENCY ANNOTATIONS IN C++

被引:0
|
作者
BAQUERO, C [1 ]
MOURA, F [1 ]
机构
[1] UNIV MINHO,INESC,DI,P-4700 BRAGA,PORTUGAL
来源
SIGPLAN NOTICES | 1994年 / 29卷 / 07期
关键词
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
This paper describes CA/C++, Concurrency Annotations in C++, a language extension that regulates method invocations from multiple threads of execution in a shared-memory multiprocessor system. This system provides threads as an orthogonal element to the language, allowing them to travel through more than one object. Statically type-ckecked synchronous and asynchronous method invocations are supported, with return values from asynchronous invocations accessed through first claw future-like objects. Method invocations are regulated with synchronization code defined in a separate class hierarchy, allowing separate definition and inheritance of synchronization mechanisms. Each method is protected by an access flag that can be switched in pre and post-actions, and by a predicate. Both must evaluate to true in order to enable a thread to animate the method code. Flags and method predicates are independently redefinable along the inheritance chain, thus avoiding the inheritance anomaly.
引用
收藏
页码:61 / 67
页数:7
相关论文
共 50 条
  • [1] Library Abstraction for C/C++ Concurrency
    Batty, Mark
    Dodds, Mike
    Gotsman, Alexey
    [J]. ACM SIGPLAN NOTICES, 2013, 48 (01) : 235 - 248
  • [2] CONCURRENCY ANNOTATIONS
    LOHR, KP
    [J]. SIGPLAN NOTICES, 1992, 27 (10): : 327 - 340
  • [3] Foundations of the C++ concurrency memory model
    Boehm, Hans-J.
    Adve, Sarita V.
    [J]. ACM SIGPLAN NOTICES, 2008, 43 (06) : 68 - 78
  • [4] ABC++- CONCURRENCY BY INHERITANCE IN C++
    ARJOMANDI, E
    OFARRELL, W
    KALAS, I
    KOBLENTS, G
    EIGLER, FC
    GAO, GR
    [J]. IBM SYSTEMS JOURNAL, 1995, 34 (01) : 120 - 137
  • [5] 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):
  • [6] A CONCURRENCY-CONTROL MECHANISM FOR C++ OBJECTS
    SALEH, H
    GAUTRON, P
    [J]. LECTURE NOTES IN COMPUTER SCIENCE, 1992, 612 : 195 - 210
  • [7] CONCURRENCY ANNOTATIONS FOR REUSABLE SOFTWARE
    LOHR, KP
    [J]. COMMUNICATIONS OF THE ACM, 1993, 36 (09) : 81 - 89
  • [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] WATCOM C++ AND MACINTOSH C++
    STEVENS, A
    [J]. DR DOBBS JOURNAL, 1993, 18 (10): : 133 - 136