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