Flexible access control policy for SCOOP - Archive ouverte HAL Accéder directement au contenu
Article Dans Une Revue Formal Aspects of Computing Année : 2008

Flexible access control policy for SCOOP

Résumé

The SCOOP model extends Eiffel to support the construction of concurrent applications with little more effort than sequential ones. The model provides strong safety guarantees: mutual exclusion and atomicity at the routine level, and FIFO scheduling of clients' calls. Unfortunately, in the original proposal of the model (SCOOP_97) these guarantees come at a high price: they entail locking all the arguments of a feature call, even if the corresponding objects are never used by the feature. In most cases, the amount of locking is higher than necessary. Additionally, a client that holds a lock on a given processor cannot relinquish it temporarily when the lock is needed by one of its suppliers. This increases the likelihood of deadlocks; additionally, some interesting synchronisation scenarios, e.g. separate callbacks, cannot be implemented. We propose two refinements of the access control policy for SCOOP: a type-based mechanism to specify which arguments of a routine call should be locked, and a lock passing mechanism for safe handling of complex synchronisation scenarios with mutual locking of several separate objects. When combined, these refinements increase the expressive power of the model, give programmers more control over the computation, and enable more potential parallelism, thus reducing the risk of deadlock.
Fichier principal
Vignette du fichier
PEER_stage2_10.1007%2Fs00165-008-0072-9.pdf (953.43 Ko) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)
Loading...

Dates et versions

hal-00477904 , version 1 (30-04-2010)

Identifiants

Citer

Piotr Nienaltowski. Flexible access control policy for SCOOP. Formal Aspects of Computing, 2008, 21 (4), pp.347-362. ⟨10.1007/s00165-008-0072-9⟩. ⟨hal-00477904⟩

Collections

PEER
50 Consultations
91 Téléchargements

Altmetric

Partager

Gmail Facebook X LinkedIn More