摘要 |
Disclosed is a technology for detecting a data race condition which automatically detects a data race condition occurrence while executing a program, and informs a user of a variable, which is a cause of a problem, and a variable access point. To this end, according to an embodiment of the present invention, an apparatus for detecting the data race condition comprises: an instrumentation portion which receives an execution code, calls a function which determines an order among a plurality of threads, and corrects the execution code to let a corresponding certain function or certain event be called when a reading access or a writing access is executed; and a race condition detection portion which executes a code which processes the certain function or the certain event in real time using the instrumented code, and detects an execution of the access which occurs the data race condition. |