2 ---Thread
-Announcement
------------------------------------------
4 Thread #x is the
program's root thread
6 ---Thread-Announcement------------------------------------------
10 by 0x........: pthread_create@* (hg_intercepts.c:...)
11 by 0x........: main (tc06_two_races.c:26)
13 ----------------------------------------------------------------
15 Possible data race during read of size 4 at 0x........ by thread #x
17 at 0x........: main (tc06_two_races.c:31)
19 This conflicts with a previous write of size 4 by thread #x
21 at 0x........: child_fn (tc06_two_races.c:14)
22 by 0x........: mythread_wrapper (hg_intercepts.c:...)
24 Location 0x........ is 0 bytes inside global var "unprot1"
25 declared at tc06_two_races.c:9
27 ----------------------------------------------------------------
29 Possible data race during write of size 4 at 0x........ by thread #x
31 at 0x........: main (tc06_two_races.c:31)
33 This conflicts with a previous write of size 4 by thread #x
35 at 0x........: child_fn (tc06_two_races.c:14)
36 by 0x........: mythread_wrapper (hg_intercepts.c:...)
38 Location 0x........ is 0 bytes inside global var "unprot1"
39 declared at tc06_two_races.c:9
41 ----------------------------------------------------------------
43 Possible data race during read of size 4 at 0x........ by thread #x
45 at 0x........: main (tc06_two_races.c:35)
47 This conflicts with a previous write of size 4 by thread #x
49 at 0x........: child_fn (tc06_two_races.c:18)
50 by 0x........: mythread_wrapper (hg_intercepts.c:...)
52 Location 0x........ is 0 bytes inside global var "unprot2"
53 declared at tc06_two_races.c:9
55 ----------------------------------------------------------------
57 Possible data race during write of size 4 at 0x........ by thread #x
59 at 0x........: main (tc06_two_races.c:35)
61 This conflicts with a previous write of size 4 by thread #x
63 at 0x........: child_fn (tc06_two_races.c:18)
64 by 0x........: mythread_wrapper (hg_intercepts.c:...)
66 Location 0x........ is 0 bytes inside global var "unprot2"
67 declared at tc06_two_races.c:9
70 ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0)