Nothing Special   »   [go: up one dir, main page]

skip to main content
Detecting Race Conditions in Parallel Programs That Use One SemaphoreJanuary 1996
1996 Technical Report
Publisher:
  • Brown University
  • Department of Computer Science Box 1910 Providence, RI
  • United States
Published:01 January 1996
Reflects downloads up to 20 Nov 2024Bibliometrics
Skip Abstract Section
Abstract

We address a problem arising in debugging parallel programs, detecting race conditions in programs using a single semaphore for synchronization. It is NP-complete to detect races in programs that use many semaphores. For the case of a single semaphore, we give an algorithm that takes $O(n^{1.5} p)$ time, where $p$ is the number of processors and $n$ is the total number of semaphore operations executed. Our algorithm constructs a representation from which one can determine in constant time whether a race exists between two given events.

Contributors
  • National Taiwan University
  • Brown University
  • Brown University
Please enable JavaScript to view thecomments powered by Disqus.

Recommendations