The patent badge is an abbreviated version of the USPTO patent document. The patent badge does contain a link to the full patent document.

The patent badge is an abbreviated version of the USPTO patent document. The patent badge covers the following: Patent number, Date patent was issued, Date patent was filed, Title of the patent, Applicant, Inventor, Assignee, Attorney firm, Primary examiner, Assistant examiner, CPCs, and Abstract. The patent badge does contain a link to the full patent document (in Adobe Acrobat format, aka pdf). To download or print any patent click here.

Date of Patent:
Apr. 29, 2014

Filed:

Mar. 31, 2011
Applicants:

Zhigang Shen, Nanjing, CN;

Feng Tian, Nanjing, CN;

Inventors:

Zhigang Shen, Nanjing, CN;

Feng Tian, Nanjing, CN;

Assignees:

Samsung Electronics Co., Ltd., Suwon-si, KR;

Samsung Electronics (China) R&D Center, Jiangsu Province Nanjing, CN;

Attorney:
Primary Examiner:
Int. Cl.
CPC ...
G06F 9/46 (2006.01); G06F 9/44 (2006.01);
U.S. Cl.
CPC ...
Abstract

A system and method for detecting deadlock in multithread program is provided. The method includes: selecting the thread to be detected; initiating a tracking program to track the thread running in a kernel; initiating a target multithread program; determining whether the selected thread is running; dynamically inserting a probe in the database in order to detect the selected thread through the instrument function. The instrument function records the detected data, and when the recorded data goes beyond the threshold value of the kernel, the data is transmitted to the user space which stores the data, and analyzing the data stored in the user space to judge whether deadlock has been generated. Accordingly, it is possible to detect deadlock efficiently, without the source code of the target program. This is beneficial to a debug task of the multithread and is beneficial to analysis of the usage of the source by the multithread program.


Find Patent Forward Citations

Loading…