Title of article :
Type Inference for Deadlock Detection in a Multithreaded Polymorphic Typed Assembly Language
Author/Authors :
Vasco T. Vasconcelos، نويسنده , , Francisco Martins، نويسنده , , Tiago Cogumbreiro، نويسنده ,
Issue Information :
روزنامه با شماره پیاپی سال 2010
Abstract :
We previously developed a polymorphic type system and a type checker for a multithreaded lock-based 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.
Journal title :
Electronic Proceedings in Theoretical Computer Science
Journal title :
Electronic Proceedings in Theoretical Computer Science