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