ACM SIGPLAN Notices · 2013 · 26 citations · 14 references
ComputingComputer EngineeringComputer ScienceFormal MethodsOperating SystemsProgramming LanguagesConcurrency ControlConcurrent ProgrammingAtomic Memory OperationsConcurrency LogicConcurrency SemanticsConcurrent Separation LogicData-race FreedomMemory Model SemanticsOwnership Transfer SemanticsSeparation Logic
We introduce relaxed separation logic (RSL), the first program logic for reasoning about concurrent programs running under the C11 relaxed memory model. From a user's perspective, RSL is an extension of concurrent separation logic (CSL) with proof rules for the various kinds of C11 atomic accesses. As in CSL, individual threads are allowed to access non-atomically only the memory that they own, thus preventing data races. Ownership can, however, be transferred via certain atomic accesses. For SC-atomic accesses, we permit arbitrary ownership transfer; for acquire/release atomic accesses, we allow ownership transfer only in one direction; whereas for relaxed atomic accesses, we rule out ownership transfer completely. We illustrate RSL with a few simple examples and prove its soundness directly over the axiomatic C11 weak memory model.
14
Resources, concurrency, and local reasoning
Peter W. O’Hearn · Theoretical Computer Science · 2007 · 558 citations
The essence of compiling with continuations
Cormac Flanagan, Amr Sabry, Bruce F. Duba et al. · 1993 · 533 citations
Checking interference with fractional permissions
2003 · 388 citations
Mark Batty, Scott Owens, Susmit Sarkar et al. · 2011 · 267 citations