1---Thread-Announcement------------------------------------------
2
3Thread #x was created
4   ...
5   by 0x........: pthread_create_WRK (hg_intercepts.c:...)
6   by 0x........: pthread_create@* (hg_intercepts.c:...)
7   by 0x........: main (annotate_rwlock.c:164)
8
9---Thread-Announcement------------------------------------------
10
11Thread #x was created
12   ...
13   by 0x........: pthread_create_WRK (hg_intercepts.c:...)
14   by 0x........: pthread_create@* (hg_intercepts.c:...)
15   by 0x........: main (annotate_rwlock.c:164)
16
17----------------------------------------------------------------
18
19Possible data race during read of size 4 at 0x........ by thread #x
20Locks held: none
21   at 0x........: rwlock_rdlock (annotate_rwlock.c:71)
22   by 0x........: thread_func (annotate_rwlock.c:144)
23   by 0x........: mythread_wrapper (hg_intercepts.c:...)
24   ...
25
26This conflicts with a previous write of size 4 by thread #x
27Locks held: none
28   at 0x........: rwlock_wrlock (annotate_rwlock.c:106)
29   by 0x........: thread_func (annotate_rwlock.c:147)
30   by 0x........: mythread_wrapper (hg_intercepts.c:...)
31   ...
32
33----------------------------------------------------------------
34
35Possible data race during read of size 4 at 0x........ by thread #x
36Locks held: none
37   at 0x........: rwlock_rdlock (annotate_rwlock.c:81)
38   by 0x........: thread_func (annotate_rwlock.c:144)
39   by 0x........: mythread_wrapper (hg_intercepts.c:...)
40   ...
41
42This conflicts with a previous write of size 4 by thread #x
43Locks held: none
44   at 0x........: rwlock_rdlock (annotate_rwlock.c:81)
45   by 0x........: thread_func (annotate_rwlock.c:144)
46   by 0x........: mythread_wrapper (hg_intercepts.c:...)
47   ...
48
49----------------------------------------------------------------
50
51Possible data race during write of size 4 at 0x........ by thread #x
52Locks held: none
53   at 0x........: rwlock_rdlock (annotate_rwlock.c:81)
54   by 0x........: thread_func (annotate_rwlock.c:144)
55   by 0x........: mythread_wrapper (hg_intercepts.c:...)
56   ...
57
58This conflicts with a previous read of size 4 by thread #x
59Locks held: none
60   at 0x........: rwlock_unlock (annotate_rwlock.c:131)
61   by 0x........: thread_func (annotate_rwlock.c:149)
62   by 0x........: mythread_wrapper (hg_intercepts.c:...)
63   ...
64
65----------------------------------------------------------------
66
67Possible data race during write of size 4 at 0x........ by thread #x
68Locks held: none
69   at 0x........: rwlock_unlock (annotate_rwlock.c:121)
70   by 0x........: thread_func (annotate_rwlock.c:146)
71   by 0x........: mythread_wrapper (hg_intercepts.c:...)
72   ...
73
74This conflicts with a previous read of size 4 by thread #x
75Locks held: none
76   at 0x........: rwlock_unlock (annotate_rwlock.c:131)
77   by 0x........: thread_func (annotate_rwlock.c:149)
78   by 0x........: mythread_wrapper (hg_intercepts.c:...)
79   ...
80
81----------------------------------------------------------------
82
83Possible data race during write of size 4 at 0x........ by thread #x
84Locks held: none
85   at 0x........: rwlock_wrlock (annotate_rwlock.c:106)
86   by 0x........: thread_func (annotate_rwlock.c:147)
87   by 0x........: mythread_wrapper (hg_intercepts.c:...)
88   ...
89
90This conflicts with a previous read of size 4 by thread #x
91Locks held: none
92   at 0x........: rwlock_unlock (annotate_rwlock.c:132)
93   by 0x........: thread_func (annotate_rwlock.c:149)
94   by 0x........: mythread_wrapper (hg_intercepts.c:...)
95   ...
96
97----------------------------------------------------------------
98
99Lock at 0x........ was first observed
100   at 0x........: rwlock_init (annotate_rwlock.c:54)
101   by 0x........: main (annotate_rwlock.c:161)
102
103Possible data race during write of size 4 at 0x........ by thread #x
104Locks held: 1, at address 0x........
105   at 0x........: rwlock_unlock (annotate_rwlock.c:127)
106   by 0x........: thread_func (annotate_rwlock.c:149)
107   by 0x........: mythread_wrapper (hg_intercepts.c:...)
108   ...
109
110This conflicts with a previous read of size 4 by thread #x
111Locks held: none
112   at 0x........: rwlock_unlock (annotate_rwlock.c:132)
113   by 0x........: thread_func (annotate_rwlock.c:149)
114   by 0x........: mythread_wrapper (hg_intercepts.c:...)
115   ...
116
117Finished.
118