1 2 Thread #x was created 3 ... 4 by 0x........: pthread_create@* (hg_intercepts.c:...) 5 by 0x........: main (hg04_race.c:21) 6 7 Thread #x was created 8 ... 9 by 0x........: pthread_create@* (hg_intercepts.c:...) 10 by 0x........: main (hg04_race.c:19) 11 12 Possible data race during read of size 4 at 0x........ by thread #x 13 at 0x........: th (hg04_race.c:10) 14 by 0x........: mythread_wrapper (hg_intercepts.c:...) 15 ... 16 This conflicts with a previous write of size 4 by thread #x 17 at 0x........: th (hg04_race.c:10) 18 by 0x........: mythread_wrapper (hg_intercepts.c:...) 19 ... 20 Location 0x........ is 0 bytes inside local var "shared" 21 declared at hg04_race.c:6, in frame #x of thread x 22 23 Possible data race during write of size 4 at 0x........ by thread #x 24 at 0x........: th (hg04_race.c:10) 25 by 0x........: mythread_wrapper (hg_intercepts.c:...) 26 ... 27 This conflicts with a previous write of size 4 by thread #x 28 at 0x........: th (hg04_race.c:10) 29 by 0x........: mythread_wrapper (hg_intercepts.c:...) 30 ... 31 Location 0x........ is 0 bytes inside local var "shared" 32 declared at hg04_race.c:6, in frame #x of thread x 33 34 35 ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0) 36