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 (tc01_simple_race.c:22) 13 14---------------------------------------------------------------- 15 16Possible data race during read of size 4 at 0x........ by thread #x 17Locks held: none 18 at 0x........: main (tc01_simple_race.c:28) 19 20This conflicts with a previous write of size 4 by thread #x 21Locks held: none 22 at 0x........: child_fn (tc01_simple_race.c:14) 23 by 0x........: mythread_wrapper (hg_intercepts.c:...) 24 ... 25 26Location 0x........ is 0 bytes inside global var "x" 27declared at tc01_simple_race.c:9 28 29---------------------------------------------------------------- 30 31Possible data race during write of size 4 at 0x........ by thread #x 32Locks held: none 33 at 0x........: main (tc01_simple_race.c:28) 34 35This conflicts with a previous write of size 4 by thread #x 36Locks held: none 37 at 0x........: child_fn (tc01_simple_race.c:14) 38 by 0x........: mythread_wrapper (hg_intercepts.c:...) 39 ... 40 41Location 0x........ is 0 bytes inside global var "x" 42declared at tc01_simple_race.c:9 43 44 45ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0) 46