Structural Lock Correlation with Ownership Types

被引:0
作者
Lu, Yi [1 ]
Potter, John [1 ]
Xue, Jingling [1 ]
机构
[1] Univ New S Wales, Sch Comp Sci & Engn, Programming Languages & Compilers Grp, Sydney, NSW 2052, Australia
来源
PROGRAMMING LANGUAGES AND SYSTEMS | 2013年 / 7792卷
关键词
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Concurrent object-oriented programming languages coordinate conflicting memory accesses through locking, which relies on programmer discipline and suffers from a lack of modularity and compile-time support. Programmers typically work with large libraries of code whose locking behaviours are not formally and precisely specified; thus understanding and writing concurrent programs is notoriously difficult and error-prone. This paper proposes structural lock correlation, a new model for establishing structural connections between locks and the memory locations they protect, in an ownership-based type and effect system. Structural lock correlation enables modular specification of locking. It offers a compiler-checkable lock abstraction with an enforceable contract at interface boundaries, leading to improved safety, understandability and composability of concurrent program components.
引用
收藏
页码:391 / 410
页数:20
相关论文
共 50 条
[41]   STRUCTURAL SENTENCE TYPES [J].
GARDNER, SF ;
HERVEY, SGJ .
LINGUISTIQUE, 1983, 19 (02) :3-19
[42]   TYPES OF STRUCTURAL FAILURE [J].
BLOCKLEY, DI .
AIA JOURNAL-AMERICAN INSTITUTE OF ARCHITECTS, 1980, 69 (12) :63-64
[43]   Correlation between lightning types [J].
Lapp, J. L. ;
Saylor, J. R. .
GEOPHYSICAL RESEARCH LETTERS, 2007, 34 (11)
[44]   Structural optimization and experimental investigation of CFRP lock nuts [J].
Katz, Jakob ;
Klimach, Martin ;
Haupt, Felix ;
Brechtel, Alexander ;
Mittelstedt, Christian .
COMPOSITES PART A-APPLIED SCIENCE AND MANUFACTURING, 2019, 117 :156-168
[46]   Ownership types for safe programming: Preventing data races and deadlocks [J].
Boyapati, C ;
Lee, R ;
Rinard, M .
ACM SIGPLAN NOTICES, 2002, 37 (11) :211-230
[48]   Bank Ownership Types and Liquidity Creation: Evidence from Ghana [J].
Kusi, Baah Aye ;
Kriese, Maryam ;
Nabieu, Gladys Awinpoak Abindaw ;
Agbloyor, Elikplimi Kombla .
JOURNAL OF AFRICAN BUSINESS, 2022, 23 (03) :568-586
[49]   An Exercise in “Primitive Natural Science” of Naturally Occurring Types of ‘Ownership’ [J].
Dušan Bjelić .
Human Studies, 2023, 46 :137-161
[50]   Car ownership: A joint model for number of cars and fuel types [J].
Seyedabrishami, Seyedehsan ;
Izadi, Arash Rasa ;
Rayaprolu, Hema Sharanya ;
Moeckel, Rolf .
URBAN MOBILITY - SHAPING THE FUTURE TOGETHER, 2019, 41 :572-576