Abstract
We previously developed a polymorphic type system and a type checker for a multithreaded lockbased polymorphic typed assembly language (MIL) that ensures that well-typed programs do not encounter race conditions. This paper extends such work by taking into consideration deadlocks. The extended type system verifies that locks are acquired in the proper order. Towards this end we require a language with annotations that specify the locking order. Rather than asking the programmer (or the compiler's backend) to specifically annotate each newly introduced lock, we present an algorithm to infer the annotations. The result is a type checker whose input language is non-decorated as before, but that further checks that programs are exempt from deadlocks.
| Original language | English |
|---|---|
| Pages (from-to) | 95-109 |
| Number of pages | 15 |
| Journal | Electronic Proceedings in Theoretical Computer Science, EPTCS |
| Volume | 17 |
| DOIs | |
| State | Published - Feb 6 2010 |
| Event | 2nd International Workshop on Programming Language Approaches to Concurrency and Communication-cEntric Software, PLACES 2009 - York, United Kingdom Duration: Mar 22 2009 → … |
ASJC Scopus Subject Areas
- Software
Fingerprint
Dive into the research topics of 'Type inference for deadlock detection in a multithreaded polymorphic typed assembly language'. Together they form a unique fingerprint.Cite this
- APA
- Standard
- Harvard
- Vancouver
- Author
- BIBTEX
- RIS