Invention Grant
US08763003B2 Methods and apparatus for detecting deadlock in multithreading programs
失效
用于检测多线程程序中的死锁的方法和装置
- Patent Title: Methods and apparatus for detecting deadlock in multithreading programs
- Patent Title (中): 用于检测多线程程序中的死锁的方法和装置
-
Application No.: US13426102Application Date: 2012-03-21
-
Publication No.: US08763003B2Publication Date: 2014-06-24
- Inventor: George B. Leeman, Jr.
- Applicant: George B. Leeman, Jr.
- Applicant Address: US NY Armonk
- Assignee: International Business Machines Corporation
- Current Assignee: International Business Machines Corporation
- Current Assignee Address: US NY Armonk
- Agency: Ryan, Mason & Lewis, LLP
- Agent Preston J. Young
- Main IPC: G06F9/46
- IPC: G06F9/46

Abstract:
A method of detecting deadlock in a multithreading program is provided. An invocation graph is constructed having a single root and a plurality of nodes corresponding to one or more functions written in code of the multithreading program. A resource graph is computed in accordance with one or more resource sets in effect at each node of the invocation graph. It is determined whether cycles exist between two or more nodes of the resource graph. A cycle is an indication of deadlock in the multithreading program.
Public/Granted literature
- US20120180065A1 METHODS AND APPARATUS FOR DETECTING DEADLOCK IN MULTITHREADING PROGRAMS Public/Granted day:2012-07-12
Information query