Programming model to detect deadlocks in concurrent programs
Abstract
Described are embodiments for developing a message-passing application program. The program is constructed using stages having a plurality of asynchronous functions, or operations. The operations communicate with other operations of other message-passing programs in a distributed computing environment. The operations also communicate with other operations on other stages of the message-passing application. In order to reduce deadlock errors, a behavioral type signature is appended to the declaration of each operation of the message-passing application program. The behavioral type signature specifies behavioral properties for each operation, such as when an operation should send a message to another operation. A type checker utilizes typing rules and the behavioral type signature to extract an implementation model of each function. The type checker then compares the implementation model to the behavioral type signature to determine whether the asynchronous function conforms to the behavioral type signature.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 50 · Forward citations: 10.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for developing a message-passing application program having a first program module with a plurality of asynchronous functions that communicate with operations of a second program module, the method comprising: defining a behavioral type signature for one of the plurality of asynchronous functions, the behavioral type signature specifying message-passing properties for the one of the plurality of asynchronous functions, and the behavioral type signature dictating timing of input and output actions by the one of the plurality of asynchronous functions, and wherein the defining a behavio
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (10 of 10 total)
References Cited — Backward Prior Art (50)
Non-Patent Literature (5)
- "Failures-Divergence Refinement," FDR2 User Manual-Fifth Edition, FDR Version 2.69, Formal Systems (Europe) Ltd., http://www.fsel.com/, 84 pages, May 3, 2000.
- "Failures-Divergence Refinement," FDR2 User Manual-Sixth Edition, FDR Version 2.80, Formal Systems (Europe) Ltd., http://www.fsel.com/, 84 pages, May 2, 2003.
- "Security Protocols," Oxford University Computing Laboratory, http://web.comlab.ox.ac.uk/oucl/work/philippa.broadfoot/securityProtocols.html, 3 pages, website visited on Nov. 18, 2003.
- "Summarizing Procedures in Concurrent Programs," powerpoint presentation presented at ACM Symp on Principles of Programming Languages, 24 pages, 2004.
- "Summarizing Procedures in Concurrent Programs," powerpoint presentation presented at Dagstuhl Seminar on Applied Deductive Verification, 37 pages, 2003.