发明授权
- 专利标题: Monitoring changes to data within a critical section of a threaded program
- 专利标题(中): 监视线程程序关键部分内的数据更改
-
申请号: US12143101申请日: 2008-06-20
-
公开(公告)号: US08572577B2公开(公告)日: 2013-10-29
- 发明人: Cary L. Bates , Victor J. Gettler
- 申请人: Cary L. Bates , Victor J. Gettler
- 申请人地址: US NY Armonk
- 专利权人: International Business Machines Corporation
- 当前专利权人: International Business Machines Corporation
- 当前专利权人地址: US NY Armonk
- 代理机构: Yee & Associates, P.C.
- 代理商 Arthur J. Samodovitz
- 主分类号: G06F9/44
- IPC分类号: G06F9/44
摘要:
A method, system and program product for monitoring changes to a variable within a critical section of a threaded program. The method includes establishing, using a debugging tool, a watch for monitoring changes to a variable that occur outside of the critical section and executing a portion of the threaded program with a debugger. Further, the method includes determining, using the tool, whether or not a thread has executed a start breakpoint set for the critical section, if the thread has executed the start breakpoint set, determining whether or not the thread has executed an end breakpoint set for the critical section, and if the thread has not executed the end breakpoint set, displaying any watches triggered responsive to updates to the variable that occur outside of the critical section, such that, only updates to the variable that occur outside of the critical section will trigger the displaying.
公开/授权文献
信息查询