starling automating concurrency verification
play

Starling: automating concurrency verification Mike Dodds (1) , - PowerPoint PPT Presentation

Starling: automating concurrency verification Mike Dodds (1) , Matthew Parkinson (2) , Matt Windsor (1) (1) University of York (2) Microsoft Research Funding from Royal Society Industrial Fellowship for Dodds. Ticketed


  1. Starling: automating concurrency verification Mike Dodds (1) , Matthew Parkinson (2) , Matt Windsor (1) (1) University of York (2) Microsoft Research Funding from Royal Society Industrial Fellowship for Dodds.

  2. Ticketed Lock global int ticket; // The next ticket to hand out. global int serving; // The current ticket holding the lock. method unlock() { method lock() { <serving++>; <t = ticket++>; } do { <s = serving>; } while (s != t); }

  3. Ticketed Lock method lock() { method unlock() { {| emp |} {| holdLock() |} <t = ticket++>; <serving++>; do { {| emp |} <s = serving>; } } while (s != t); {| holdLock() |} } constraint holdLock() * holdLock() -> false;

  4. Ticketed Lock method lock() { method unlock() { {| emp |} {| holdLock() |} <t = ticket++>; <serving++>; {| holdTick(t) |} {| emp |} do { } {| holdTick(t) |} <s = serving>; {| if s==t then holdLock() else holdTick(t) |} } while (s != t); {| holdLock() |} } constraint holdLock() * holdLock() -> false;

  5. Demo

  6. Views

  7. Checking proof outline

  8. Reification constraint holdLock() * holdLock() -> false;

  9. Check proof outlines

  10. Proof

  11. Open Development Follow the project on GitHub: http://github.com/septract/starling-tool/

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend