1 2---Thread-Announcement------------------------------------------ 3 4Thread #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 (hg04_race.c:21) 9 10---Thread-Announcement------------------------------------------ 11 12Thread #x was created 13 ... 14 by 0x........: pthread_create_WRK (hg_intercepts.c:...) 15 by 0x........: pthread_create@* (hg_intercepts.c:...) 16 by 0x........: main (hg04_race.c:19) 17 18---------------------------------------------------------------- 19 20Possible data race during read of size 4 at 0x........ by thread #x 21Locks held: none 22 at 0x........: th (hg04_race.c:10) 23 by 0x........: mythread_wrapper (hg_intercepts.c:...) 24 ... 25 26This conflicts with a previous write of size 4 by thread #x 27Locks held: none 28 at 0x........: th (hg04_race.c:10) 29 by 0x........: mythread_wrapper (hg_intercepts.c:...) 30 ... 31 32Location 0x........ is 0 bytes inside local var "shared" 33declared at hg04_race.c:6, in frame #x of thread x 34 35---------------------------------------------------------------- 36 37Possible data race during write of size 4 at 0x........ by thread #x 38Locks held: none 39 at 0x........: th (hg04_race.c:10) 40 by 0x........: mythread_wrapper (hg_intercepts.c:...) 41 ... 42 43This conflicts with a previous write of size 4 by thread #x 44Locks held: none 45 at 0x........: th (hg04_race.c:10) 46 by 0x........: mythread_wrapper (hg_intercepts.c:...) 47 ... 48 49Location 0x........ is 0 bytes inside local var "shared" 50declared at hg04_race.c:6, in frame #x of thread x 51 52 53ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0) 54