Run-time detection of potential deadlocks for programs with locks, semaphores, and condition variables
Authors:
Open Access
- 17 July 2006
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 51-60
Abstract
Concurrent programs are notorious for containing errors that are difficult to reproduce and diagnose. A common kind of concurrency error is deadlock, which occurs when some threads are permanently blocked. This paper defines a run-time notion of potential deadlock in programs with locks, semaphores, and condition variables. Informally, an execution has potential for a deadlock if some feasible permutation of the execution results in a deadlock. Feasibility of a permutation is determined by ordering constraints amongst events in the execution. Previous work on run-time detection of potential deadlocks are for programs that use locks. This paper presents run-time algorithms to detect potential deadlocks in programs that use locks (block structured as well as non block structured), semaphores, and condition variables.Keywords
This publication has 11 references indexed in Scilit:
- Accurate and efficient runtime detection of atomicity errors in concurrent programs2006
- Runtime analysis of atomicity for multithreaded programsIEEE Transactions on Software Engineering, 2006
- Detecting Potential Deadlocks with Static Analysis and Run-Time Monitoring2006
- Static Deadlock Detection for Java Libraries2005
- Atomizer2004
- RacerX2003
- Hybrid dynamic data race detection2003
- Ownership types for safe programming2002
- Object race detection2001
- EraserACM Transactions on Computer Systems, 1997