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