发明名称 SYSTEM AND METHOD FOR DETECTING DEADLOCK IN A MULTITHREAD PROGRAM
摘要 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.
申请公布号 US2011252424(A1) 申请公布日期 2011.10.13
申请号 US201113077051 申请日期 2011.03.31
申请人 SAMSUNG ELECTRONICS (CHINA) R&D CENTER;SAMSUNG ELECTRONICS CO., LTD. 发明人 SHEN ZHIGANG;TIAN FENG
分类号 G06F9/46 主分类号 G06F9/46
代理机构 代理人
主权项
地址