2 ---Thread-Announcement------------------------------------------
4 Thread #x is the program's root thread
6 ---Thread-Announcement------------------------------------------
10 by 0x........: pthread_create@* (hg_intercepts.c:...)
11 by 0x........: main (tc05_simple_race.c:27)
13 ----------------------------------------------------------------
15 Possible data race during read of size 4 at 0x........ by thread #x
17 at 0x........: main (tc05_simple_race.c:33)
19 This conflicts with a previous write of size 4 by thread #x
21 at 0x........: child_fn (tc05_simple_race.c:19)
22 by 0x........: mythread_wrapper (hg_intercepts.c:...)
24 Location 0x........ is 0 bytes inside global var "y"
25 declared at tc05_simple_race.c:10
27 ----------------------------------------------------------------
29 Possible data race during write of size 4 at 0x........ by thread #x
31 at 0x........: main (tc05_simple_race.c:33)
33 This conflicts with a previous write of size 4 by thread #x
35 at 0x........: child_fn (tc05_simple_race.c:19)
36 by 0x........: mythread_wrapper (hg_intercepts.c:...)
38 Location 0x........ is 0 bytes inside global var "y"
39 declared at tc05_simple_race.c:10
42 ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)