Specifying and Checking Protocols of Multithreaded Classes - Inria - Institut national de recherche en sciences et technologies du numérique Accéder directement au contenu
Communication Dans Un Congrès Année : 2009

Specifying and Checking Protocols of Multithreaded Classes

Résumé

In the Design By Contract (DBC) approach, programmers specify methods with pre and postconditions (also called contracts). Earlier work added protocols to the DBC approach to describe allowed method call sequences for classes. We extend this work to deal with a variant of generic classes and multithreaded classes. We present the semantical foundations of our extension. We describe a new technique to check that method contracts are correct w.r.t. to protocols. We show how to generate programs that must be proven to show that method contracts are correct w.r.t. to protocols. Because little support currently exists to help writing method contracts, our technique helps programmers to check their contracts early in the development process.
Fichier principal
Vignette du fichier
final-version.pdf (161.28 Ko) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)

Dates et versions

inria-00334527 , version 1 (27-10-2008)
inria-00334527 , version 2 (02-05-2009)
inria-00334527 , version 3 (19-05-2009)

Identifiants

  • HAL Id : inria-00334527 , version 1

Citer

Clément Hurlin. Specifying and Checking Protocols of Multithreaded Classes. ACM Symposium on Applied Computing (SAC'09), ACM, Mar 2009, Honolulu, United States. ⟨inria-00334527v1⟩
41 Consultations
134 Téléchargements

Partager

Gmail Facebook X LinkedIn More