Patents
US 7,917,909 B2#21933981 Most CitedActiveUnited States (USPTO)Utility

Detecting deadlocks in interop-debugging

5Forward Citations (#21933981 Global)
0.3/yrCitation Velocity (#23105481 Global)
1.29Citation PageRank (#28732361 Global)
2Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

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)

  1. 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 ↗

References Cited — Backward Prior Art (2)

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.