2 ---Thread-Announcement------------------------------------------
6 by 0x........: pthread_create@* (hg_intercepts.c:...)
7 by 0x........: main (tc21_pthonce.c:87)
9 ---Thread-Announcement------------------------------------------
13 by 0x........: pthread_create@* (hg_intercepts.c:...)
14 by 0x........: main (tc21_pthonce.c:87)
16 ----------------------------------------------------------------
18 Possible data race during read of size 4 at 0x........ by thread #x
20 at 0x........: child (tc21_pthonce.c:74)
21 by 0x........: mythread_wrapper (hg_intercepts.c:...)
24 This conflicts with a previous write of size 4 by thread #x
26 at 0x........: child (tc21_pthonce.c:74)
27 by 0x........: mythread_wrapper (hg_intercepts.c:...)
29 Location 0x........ is 0 bytes inside global var "unprotected2"
30 declared at tc21_pthonce.c:51
32 ----------------------------------------------------------------
34 Possible data race during write of size 4 at 0x........ by thread #x
36 at 0x........: child (tc21_pthonce.c:74)
37 by 0x........: mythread_wrapper (hg_intercepts.c:...)
40 This conflicts with a previous write of size 4 by thread #x
42 at 0x........: child (tc21_pthonce.c:74)
43 by 0x........: mythread_wrapper (hg_intercepts.c:...)
45 Location 0x........ is 0 bytes inside global var "unprotected2"
46 declared at tc21_pthonce.c:51
49 ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)