Monitoring changes to data within a critical section of a threaded program
AssigneeInternational Business Machines Corporation
InventorsCary L. Bates, Victor J. Gettler
Life of this patent
Estimating the term…
Loading patent…
AssigneeInternational Business Machines Corporation
InventorsCary L. Bates, Victor J. Gettler
Estimating the term…
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.
A method for monitoring changes to a value of a program variable within a threaded program which comprises different program threads configured for concurrent execution, the threaded program not changing the value of the program variable outside a predetermined section of the threaded program if the different program threads are properly synchronized with each other, the method comprising the steps of:
A computer system for monitoring changes to a value of a program variable within a threaded program which comprises different program threads configured for concurrent execution, the threaded program not changing the value of the program variable outside a predetermined section of the threaded program if the different program threads are properly synchronized with each other, the computer system comprising:
A computer program product for monitoring changes to a value of a program variable within a threaded program which comprises different program threads configured for concurrent execution, the threaded program not changing the value of the program variable outside a predetermined section of the threaded program if the different program threads are properly synchronized with each other, the computer program product comprising:
Dependencies are inferred from the claim text.