Detecting deadlocks in interop-debugging
Abstract
A method and system for implementing detecting deadlocks in interop-debugging is described herein. One or more synchronization objects that an application program interface (API) could block on are identified. A canary thread that takes one or more of the synchronization objects is created. The canary thread is called to take the one or more synchronization objects. If the canary thread returns within a predetermined timeout period, then the one or more synchronization objects are available and safe to take. If the canary thread does not return within the predetermined timeout period, then the one or more synchronization objects may not be available.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 2 · Forward citations: 5.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer-implemented method comprising: identifying one or more synchronization objects that an application program interface (API) could block on; responsive to receiving a debugger request for a helper thread, creating, by the helper thread, a canary thread, wherein: the canary thread attempts to take and release the one or more synchronization objects, and the one or more synchronization objects are takeable by the helper thread in response to the debugger request; determining whether the canary thread exits and returns to the helper thread within a predetermined timeout period; and, when
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (5 of 5 total)
References Cited — Backward Prior Art (2)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 2004139386 A1 | Data exchange unit | — | 9 |
| US 2007143766 A1 | Deadlock detection in a computing environment | — | 21 |
Non-Patent Literature (2)
- Carver Richard H., Yu Lei, A general model for reachability testing of concurrent programs, Nov. 8-12, 2004, Springer Berlin / Heidelberg, vol. 3308/2004, p. 76-98.
- Robert Ian Oliver, Designing Enterprise Applications with Microsoft Visual Basic .NET, Microsoft Press; 1 edition (Oct. 16, 2002), p. 308.