首页 | 本学科首页   官方微博 | 高级检索  
     


Beyond contracts for concurrency
Authors:Jonathan S Ostroff  Faraz Ahmadi Torshizi  Hai Feng Huang  Bernd Schoeller
Affiliation:(1) Department of Computer Science and Engineering, York University, 4700 Keele Street, Toronto, Canada, M3J 1P3;(2) Software Engineering, ETH Zurich, Clausiusstrasse 59, 8092 Zurich, Switzerland
Abstract:SCOOP is a concurrent programming language with a new semantics for contracts that applies equally well in concurrent and sequential contexts. SCOOP eliminates race conditions and atomicity violations by construction. However, it is still vulnerable to deadlocks. In this paper we describe how far contracts can take us in verifying interesting properties of concurrent systems using modular Hoare rules and show how theorem proving methods developed for sequential Eiffel can be extended to the concurrent case. However, some safety and liveness properties depend upon the environment and cannot be proved using the Hoare rules. To deal with such system properties, we outline a SCOOP Virtual Machine (SVM) as a fair transition system. The SVM makes it feasible to use model-checking and theorem proving methods for checking global temporal logic properties of SCOOP programs. The SVM uses the Hoare rules where applicable to reduce the number of steps in a computation. P. J. Brooke, R. F. Paige and Dong Jin Song This work was conducted under an NSERC Discovery grant.
Keywords:SCOOP (Simple Concurrent Object Oriented Programming)  Concurrent contracts  Operational semantics  Verification  Temporal logic
本文献已被 SpringerLink 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号