1Thread #x was created 2 ... 3 by 0x........: pthread_create@* (hg_intercepts.c:...) 4 by 0x........: main (annotate_rwlock.c:164) 5 6Thread #x was created 7 ... 8 by 0x........: pthread_create@* (hg_intercepts.c:...) 9 by 0x........: main (annotate_rwlock.c:164) 10 11Possible data race during read of size 4 at 0x........ by thread #x 12 at 0x........: rwlock_rdlock (annotate_rwlock.c:71) 13 by 0x........: thread_func (annotate_rwlock.c:144) 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........: rwlock_wrlock (annotate_rwlock.c:106) 18 by 0x........: thread_func (annotate_rwlock.c:147) 19 by 0x........: mythread_wrapper (hg_intercepts.c:...) 20 ... 21 22Possible data race during read of size 4 at 0x........ by thread #x 23 at 0x........: rwlock_rdlock (annotate_rwlock.c:81) 24 by 0x........: thread_func (annotate_rwlock.c:144) 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........: rwlock_rdlock (annotate_rwlock.c:81) 29 by 0x........: thread_func (annotate_rwlock.c:144) 30 by 0x........: mythread_wrapper (hg_intercepts.c:...) 31 ... 32 33Possible data race during write of size 4 at 0x........ by thread #x 34 at 0x........: rwlock_rdlock (annotate_rwlock.c:81) 35 by 0x........: thread_func (annotate_rwlock.c:144) 36 by 0x........: mythread_wrapper (hg_intercepts.c:...) 37 ... 38 This conflicts with a previous read of size 4 by thread #x 39 at 0x........: rwlock_unlock (annotate_rwlock.c:131) 40 by 0x........: thread_func (annotate_rwlock.c:149) 41 by 0x........: mythread_wrapper (hg_intercepts.c:...) 42 ... 43 44Possible data race during write of size 4 at 0x........ by thread #x 45 at 0x........: rwlock_unlock (annotate_rwlock.c:121) 46 by 0x........: thread_func (annotate_rwlock.c:146) 47 by 0x........: mythread_wrapper (hg_intercepts.c:...) 48 ... 49 This conflicts with a previous read of size 4 by thread #x 50 at 0x........: rwlock_unlock (annotate_rwlock.c:131) 51 by 0x........: thread_func (annotate_rwlock.c:149) 52 by 0x........: mythread_wrapper (hg_intercepts.c:...) 53 ... 54 55Possible data race during write of size 4 at 0x........ by thread #x 56 at 0x........: rwlock_wrlock (annotate_rwlock.c:106) 57 by 0x........: thread_func (annotate_rwlock.c:147) 58 by 0x........: mythread_wrapper (hg_intercepts.c:...) 59 ... 60 This conflicts with a previous read of size 4 by thread #x 61 at 0x........: rwlock_unlock (annotate_rwlock.c:132) 62 by 0x........: thread_func (annotate_rwlock.c:149) 63 by 0x........: mythread_wrapper (hg_intercepts.c:...) 64 ... 65 66Possible data race during write of size 4 at 0x........ by thread #x 67 at 0x........: rwlock_unlock (annotate_rwlock.c:127) 68 by 0x........: thread_func (annotate_rwlock.c:149) 69 by 0x........: mythread_wrapper (hg_intercepts.c:...) 70 ... 71 This conflicts with a previous read of size 4 by thread #x 72 at 0x........: rwlock_unlock (annotate_rwlock.c:132) 73 by 0x........: thread_func (annotate_rwlock.c:149) 74 by 0x........: mythread_wrapper (hg_intercepts.c:...) 75 ... 76 77Finished. 78