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 条
  • [1] BARRIERS IN CONCURRENT SEPARATION LOGIC: NOW WITH TOOL SUPPORT!
    Hobor, Aquinas
    Gherghina, Cristian
    LOGICAL METHODS IN COMPUTER SCIENCE, 2012, 8 (02)
  • [2] INDEPENDENCE AND CONCURRENT SEPARATION LOGIC
    Hayman, Jonathan
    Winskel, Glynn
    LOGICAL METHODS IN COMPUTER SCIENCE, 2008, 4 (01)
  • [3] Concurrent Incorrectness Separation Logic
    Raad, Azalea
    Berdine, Josh
    Dreyer, Derek
    O'Hearn, Peter W.
    PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL, 2022, 6
  • [4] Granularity and Concurrent Separation Logic
    Hayman, Jonathan
    CONCUR 2011: CONCURRENCY THEORY, 2011, 6901 : 219 - 234
  • [5] A semantics for concurrent separation logic
    Brookes, S
    CONCUR 2004 - CONCURRENCY THEORY, PROCEEDINGS, 2004, 3170 : 16 - 34
  • [6] A semantics for concurrent separation logic
    Brookes, Stephen
    THEORETICAL COMPUTER SCIENCE, 2007, 375 (1-3) : 227 - 270
  • [7] Revisiting concurrent separation logic
    Soares, Pedro
    Ravara, Antonio
    de Sousa, Simao Melo
    JOURNAL OF LOGICAL AND ALGEBRAIC METHODS IN PROGRAMMING, 2017, 89 : 41 - 66
  • [8] Concurrent incorrectness separation logic
    Raad, Azalea
    Berdine, Josh
    Dreyer, Derek
    O'Hearn, Peter W.
    Proceedings of the ACM on Programming Languages, 2022, 6 (POPL)
  • [9] Independence and concurrent separation logic
    Hayman, Jonathan
    Winskel, Glynn
    21ST ANNUAL IEEE SYMPOSIUM ON LOGIC IN COMPUTER SCIENCE, PROCEEDINGS, 2006, : 147 - +
  • [10] Oracle semantics for concurrent separation logic
    Hobor, Aquinas
    Appel, Andrew W.
    Nardelli, Francesco Zappa
    PROGRAMMING LANGUAGES AND SYSTEMS, PROCEEDINGS, 2008, 4960 : 353 - +