1 2 Thread #x is the program's root thread 3 4 Thread #x was created 5 ... 6 by 0x........: pthread_create@* (hg_intercepts.c:...) 7 by 0x........: main (tc05_simple_race.c:27) 8 9 Possible data race during read of size 4 at 0x........ by thread #x 10 at 0x........: main (tc05_simple_race.c:33) 11 This conflicts with a previous write of size 4 by thread #x 12 at 0x........: child_fn (tc05_simple_race.c:19) 13 by 0x........: mythread_wrapper (hg_intercepts.c:...) 14 ... 15 Location 0x........ is 0 bytes inside global var "y" 16 declared at tc05_simple_race.c:10 17 18 Possible data race during write of size 4 at 0x........ by thread #x 19 at 0x........: main (tc05_simple_race.c:33) 20 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:...) 23 ... 24 Location 0x........ is 0 bytes inside global var "y" 25 declared at tc05_simple_race.c:10 26 27 28 ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0) 29