×

Methods and apparatus for detecting deadlock in multithreading programs

  • US 20070150897A1
  • Filed: 12/22/2005
  • Published: 06/28/2007
  • Est. Priority Date: 12/22/2005
  • Status: Abandoned Application
First Claim
Patent Images

1. A method of detecting deadlock in a multithreading program, comprising the steps of:

  • constructing an invocation graph having a single root and a plurality of nodes corresponding to one or more functions written in code of the multithreading program;

    computing a resource graph in accordance with one or more resource sets in effect at each node of the invocation graph; and

    determining whether cycles exist between two or more nodes of the resource graph, wherein a cycle is an indication of deadlock in the multithreading program.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×