Jthread, a deadlock-free mutex library - Inria - Institut national de recherche en sciences et technologies du numérique Accéder directement au contenu
Communication Dans Un Congrès Année : 2015

Jthread, a deadlock-free mutex library

Johan Grande
  • Fonction : Auteur
  • PersonId : 974079
Gérard Boudol
  • Fonction : Auteur
  • PersonId : 974080
Manuel Serrano

Résumé

We design a mutex library for Hop – a dialect of Scheme which supports preemptive multithreading and shared memory – that mixes deadlock prevention and deadlock avoidance to provide an easy to use, expressive, and safe locking function. This requires an operation to acquire several mutexes simultaneously, for which we provide a starvation-free algorithm. Choosing a formal definition of starvation-freedom leads us to identify the concept of asymptotic deadlock. Preliminary observations seem to show that our library has negligible impact on the performance of real-life applications. Our work could be applied to other languages such as Java.
Fichier principal
Vignette du fichier
gbs-ppdp15.pdf (335.47 Ko) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)
Loading...

Dates et versions

hal-01246618 , version 1 (18-12-2015)

Identifiants

Citer

Johan Grande, Gérard Boudol, Manuel Serrano. Jthread, a deadlock-free mutex library. Principles and Practice of Declarative Programming, Jul 2015, Sienne, Italy. pp.12, ⟨10.1145/2790449.2790523⟩. ⟨hal-01246618⟩
79 Consultations
236 Téléchargements

Altmetric

Partager

Gmail Facebook X LinkedIn More