1---Thread-Announcement------------------------------------------
2
3Thread #x was created
4   ...
5   by 0x........: pthread_create@* (hg_intercepts.c:...)
6   by 0x........: main (locked_vs_unlocked3.c:53)
7
8---Thread-Announcement------------------------------------------
9
10Thread #x was created
11   ...
12   by 0x........: pthread_create@* (hg_intercepts.c:...)
13   by 0x........: main (locked_vs_unlocked3.c:54)
14
15----------------------------------------------------------------
16
17Lock at 0x........ was first observed
18   at 0x........: pthread_mutex_init (hg_intercepts.c:...)
19   by 0x........: main (locked_vs_unlocked3.c:51)
20
21Possible data race during write of size 4 at 0x........ by thread #x
22Locks held: none
23   at 0x........: child_fn2 (locked_vs_unlocked3.c:38)
24   by 0x........: mythread_wrapper (hg_intercepts.c:...)
25   ...
26
27This conflicts with a previous write of size 4 by thread #x
28Locks held: 1, at address 0x........
29   at 0x........: child_fn1 (locked_vs_unlocked3.c:28)
30   by 0x........: mythread_wrapper (hg_intercepts.c:...)
31   ...
32 Address 0x........ is 0 bytes inside data symbol "x"
33
34