Logo image
Detecting deadlocks in the Ada accept...do and select constructs
Technical documentation   Open access

Detecting deadlocks in the Ada accept...do and select constructs

Stephen P. Masticola
Rutgers University
1990
DOI:
https://doi.org/10.7282/t3-3eqt-tv40

Abstract

We describe the representation of Ada programs containing the select and accept-do constructs, for use in safe and accurate static detection of deadlock in polynomial time. We describe a sync hypergraph program representation, which encompasses remote procedures including synchronization, conditional entries and entry calls, and else clauses and timeouts. We present a corresponding execution model for the sync hypergraph abstraction of Ada programs, and give constraints on valid deadlock cycles based on this execution model. We give full details of a deadlock detection algorithm, including lattice frameworks for deadlock cycle detection and proof of worst-case polynomial time bounds for convergence. As an intermediate step, we compute an approximate "can't happen together" (CHT) relation between rendezvous statements. This CHT relation has applications in other areas, notably in detection of unexecutable statements and in intertask data flow analysis.
pdf
lcsr-tr-190633.52 kBDownloadView
Author's Original (AO) Open Access
url
Report an accessibility issueView
Please complete a content remediation request to report an accessibility issue with a library electronic resource, website, or service.

Metrics

103 File downloads
126 Record Views

Details

Logo image