TY - GEN
T1 - Run-time detection of potential deadlocks for programs with locks, semaphores, and condition variables
AU - Agarwal, Rahul
AU - Stoller, Scott D.
PY - 2006
Y1 - 2006
N2 - 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 runtime 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.
AB - 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 runtime 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.
KW - Algorithms
KW - Reliability
UR - https://www.scopus.com/pages/publications/34247540013
U2 - 10.1145/1147403.1147413
DO - 10.1145/1147403.1147413
M3 - Conference contribution
AN - SCOPUS:34247540013
SN - 1595934146
SN - 9781595934147
T3 - Proceeding of the 2006 Workshop on Parallel and Distributed Systems: Testing and Debugging, PADTAD '06
SP - 51
EP - 59
BT - Proceeding of the 2006 Workshop on Parallel and Distributed Systems
T2 - 2006 Workshop on Parallel and Distributed Systems: Testing and Debugging, PADTAD '06
Y2 - 17 July 2006 through 17 July 2006
ER -