1 2 ---Thread-Announcement------------------------------------------ 3 4 Thread #x was created 5 ... 6 by 0x........: pthread_create_WRK (hg_intercepts.c:...) 7 by 0x........: pthread_create@* (hg_intercepts.c:...) 8 by 0x........: main (hg03_inherit.c:46) 9 10 ---Thread-Announcement------------------------------------------ 11 12 Thread #x is the program's root thread 13 14 ---------------------------------------------------------------- 15 16 Possible data race during write of size 4 at 0x........ by thread #x 17 Locks held: none 18 at 0x........: t2 (hg03_inherit.c:28) 19 by 0x........: mythread_wrapper (hg_intercepts.c:...) 20 ... 21 22 This conflicts with a previous read of size 4 by thread #x 23 Locks held: none 24 at 0x........: main (hg03_inherit.c:60) 25 26 Location 0x........ is 0 bytes inside shared[1], 27 declared at hg03_inherit.c:11, in frame #x of thread x 28 29 30 ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) 31