Patent ID: 6681384
Filing Date: 2004-01-20
Classification: G06F

Abstract:
A method of synchronizing execution of a multi-thread program, comprising the computer-executed steps:executing the multi-thread program, wherein the multi-thread program comprises a plurality of threads; halting execution of a first thread at a synchronization break-point; while the first thread is halted, continuing execution of other of the plurality of threads that have not yet reached the synchronization break-point; thereafter determining that a synchronization break condition has been satisfied, while said first thread remains halted, wherein said synchronization break condition includes at least one condition from the set consisting of: (a) determining that a pre-determined number of the plurality of threads have reached the synchronization break-point, (b) determining that a pre-determined amount of time has elapsed since said first thread reached the synchronization break-point, and (c) determining that a user-specified thread has reached the synchronization break-point; and responsive to determining that a synchronization break condition has been satisfied, halting execution of all threads of said multi-thread program.