Barriers in Concurrent Separation Logic

被引:0
|
作者
Hobor, Aquinas [1 ]
Cherghina, Cristian [1 ]
机构
[1] Natl Univ Singapore, Singapore, Singapore
来源
关键词
SEMANTICS;
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
We develop and prove sound a concurrent separation logic for Pthreads-style barriers. Although Pthreads barriers are widely used in systems, and separation logic is widely used for verification, there has not been any effort to combine the two. Unlike locks and critical sections, Pthreads barriers enable simultaneous resource redistribution between multiple threads and are inherently stateful, leading to significant complications in the design of the logic and its soundness proof. We show how our logic can be applied to a specific example program in a modular way. Our proofs are machine-checked in Coq.
引用
收藏
页码:276 / 296
页数:21
相关论文
共 50 条
  • [41] Steel: Proof-Oriented Programming in a Dependently Typed Concurrent Separation Logic
    Fromherz, Aymeric
    Rastogi, Aseem
    Swamy, Nikhil
    Gibson, Sydney
    Martinez, Guido
    Merigoux, Denis
    Ramananandro, Tahina
    PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL, 2021, 5
  • [42] A Relational Model of Types-and-Effects in Higher-Order Concurrent Separation Logic
    Krogh-Jespersen, Morten
    Svendsen, Kasper
    Birkedal, Lars
    ACM SIGPLAN NOTICES, 2017, 52 (01) : 218 - 231
  • [43] Concurrent weighted logic
    Larsen, Kim G.
    Mardare, Radu
    Xue, Bingtian
    JOURNAL OF LOGICAL AND ALGEBRAIC METHODS IN PROGRAMMING, 2015, 84 (06) : 884 - 897
  • [44] CONCURRENT DYNAMIC LOGIC
    PELEG, D
    JOURNAL OF THE ACM, 1987, 34 (02) : 450 - 479
  • [45] Expressing the Behavior of Three Very Different Concurrent Systems by Using Natural Extensions of Separation Logic
    Daylight, Edgar G.
    Shukla, Sandeep K.
    Sergio, Davide
    ELECTRONIC PROCEEDINGS IN THEORETICAL COMPUTER SCIENCE, 2009, (08): : 26 - 40
  • [46] Iris from the ground up A modular foundation for higher-order concurrent separation logic
    Jung, Ralf
    Krebbers, Robbert
    Jourdan, Jacques-Henri
    Bizjak, Ales
    Birkedal, Lars
    Dreyer, Derek
    JOURNAL OF FUNCTIONAL PROGRAMMING, 2018, 28
  • [47] Separation Logic
    O'Hearn, Peter
    COMMUNICATIONS OF THE ACM, 2019, 62 (02) : 86 - 95
  • [48] The Locality of Concurrent Write Barriers
    Hellyer, Laurence
    Jones, Richard
    Hosking, Antony L.
    ACM SIGPLAN NOTICES, 2010, 45 (08) : 83 - 92
  • [49] PROGRAMMING IN CONCURRENT LOGIC LANGUAGES
    HUNTBACH, MM
    RINGWOOD, GA
    IEEE SOFTWARE, 1995, 12 (06) : 71 - 82
  • [50] Concurrent dynamic epistemic logic
    Van Ditmarsch, HP
    Van Der Hoek, W
    Kooi, BP
    KNOWLEDGE CONTRIBUTORS, 2003, 322 : 105 - 143