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 条
  • [31] Interactive Proofs in Higher-Order Concurrent Separation Logic
    Krebbers, Robbert
    Timany, Amin
    Birkedal, Lars
    ACM SIGPLAN NOTICES, 2017, 52 (01) : 205 - 217
  • [32] Modular Verification of Safe Memory Reclamation in Concurrent Separation Logic
    Jung, Jaehwang
    Lee, Janggun
    Choi, Jaemin
    Kim, Jaewoo
    Park, Sunho
    Kang, Jeehoon
    PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL, 2023, 7 (OOPSLA):
  • [33] Decidable entailment checking for concurrent separation logic with fractional permissions
    Lee Y.
    Nakazawa K.
    Computer Software, 2023, 40 (04) : 67 - 86
  • [34] Simuliris: A Separation Logic Framework for Verifying Concurrent Program Optimizations
    Gaeher, Lennard
    Sammler, Michael
    Spies, Simon
    Jung, Ralf
    Dang, Hoang-Hai
    Krebbers, Robbert
    Kang, Jeehoon
    Dreyer, Derek
    PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL, 2022, 6 (POPL):
  • [35] Spirea: A Mechanized Concurrent Separation Logic for Weak Persistent Memory
    Vindum, Simon Friis
    Birkedal, Lars
    PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL, 2023, 7 (OOPSLA):
  • [36] SteelCore: An Extensible Concurrent Separation Logic for Effectful Dependently Typed Programs
    Swamy, Nikhil
    Rastogi, Aseem
    Fromherz, Aymeric
    Merigoux, Denis
    Ahman, Danel
    Martinez, Guido
    PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL, 2020, 4 (ICFP):
  • [37] Beyond Backtracking: Connections in Fine-Grained Concurrent Separation Logic
    Mulder, Ike
    Czajka, Lukasz
    Krebbers, Robbert
    PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL, 2023, 7 (PLDI):
  • [38] On the relationship between concurrent separation logic and assume-guarantee reasoning
    Feng, Xinyu
    Ferreira, Rodrigo
    Shao, Zhong
    PROGRAMMING LANGUAGES AND SYSTEMS, PROCEEDINGS, 2007, 4421 : 173 - +
  • [39] Iron: Managing Obligations in Higher-Order Concurrent Separation Logic
    Bizjak, Ales
    Gratzer, Daniel
    Krebbers, Robbert
    Birkedal, Lars
    PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL, 2019, 3 (POPL):
  • [40] Trillium: Higher-Order Concurrent and Distributed Separation Logic for Intensional Refinement
    Timany, Amin
    Gregersen, Simon Oddershede
    Stefanesco, Leo
    Hinrichsen, Jonas Kastberg
    Gondelman, Leon
    Nieto, Abel
    Birkedal, Lars
    PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL, 2024, 8 (POPL):