1 2 ---Thread-Announcement------------------------------------------ 3 4 Thread #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 (rwlock_race.c:48) 9 10 ---Thread-Announcement------------------------------------------ 11 12 Thread #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 (rwlock_race.c:47) 17 18 ---------------------------------------------------------------- 19 20 Possible data race during write of size 4 at 0x........ by thread #x 21 Locks held: none 22 at 0x........: thread_func (rwlock_race.c:29) 23 by 0x........: mythread_wrapper (hg_intercepts.c:...) 24 ... 25 26 This conflicts with a previous write of size 4 by thread #x 27 Locks held: none 28 at 0x........: thread_func (rwlock_race.c:29) 29 by 0x........: mythread_wrapper (hg_intercepts.c:...) 30 ... 31 32 Location 0x........ is 0 bytes inside local var "s_racy" 33 declared at rwlock_race.c:18, in frame #x of thread x 34 35 Result: 2 36 37 ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) 38