1 2---Thread-Announcement------------------------------------------ 3 4Thread #x is the program's root thread 5 6---Thread-Announcement------------------------------------------ 7 8Thread #x was created 9 ... 10 by 0x........: pthread_create_WRK (hg_intercepts.c:...) 11 by 0x........: pthread_create@* (hg_intercepts.c:...) 12 by 0x........: main (tc05_simple_race.c:27) 13 14---------------------------------------------------------------- 15 16Possible data race during read of size 4 at 0x........ by thread #x 17Locks held: none 18 at 0x........: main (tc05_simple_race.c:33) 19 20This conflicts with a previous write of size 4 by thread #x 21Locks held: none 22 at 0x........: child_fn (tc05_simple_race.c:19) 23 by 0x........: mythread_wrapper (hg_intercepts.c:...) 24 ... 25 26Location 0x........ is 0 bytes inside global var "y" 27declared at tc05_simple_race.c:10 28 29---------------------------------------------------------------- 30 31Possible data race during write of size 4 at 0x........ by thread #x 32Locks held: none 33 at 0x........: main (tc05_simple_race.c:33) 34 35This conflicts with a previous write of size 4 by thread #x 36Locks held: none 37 at 0x........: child_fn (tc05_simple_race.c:19) 38 by 0x........: mythread_wrapper (hg_intercepts.c:...) 39 ... 40 41Location 0x........ is 0 bytes inside global var "y" 42declared at tc05_simple_race.c:10 43 44 45ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0) 46