drd: Improve thread startup code for non-Linux platforms
[valgrind.git] / helgrind / tests / hg04_race.stderr.exp
blob67f6573963afa36ee713afece563d8e3ada33142
2 ---Thread-Announcement------------------------------------------
4 Thread #x was created
5    ...
6    by 0x........: pthread_create@* (hg_intercepts.c:...)
7    by 0x........: main (hg04_race.c:21)
9 ---Thread-Announcement------------------------------------------
11 Thread #x was created
12    ...
13    by 0x........: pthread_create@* (hg_intercepts.c:...)
14    by 0x........: main (hg04_race.c:19)
16 ----------------------------------------------------------------
18 Possible data race during read of size 4 at 0x........ by thread #x
19 Locks held: none
20    at 0x........: th (hg04_race.c:10)
21    by 0x........: mythread_wrapper (hg_intercepts.c:...)
22    ...
24 This conflicts with a previous write of size 4 by thread #x
25 Locks held: none
26    at 0x........: th (hg04_race.c:10)
27    by 0x........: mythread_wrapper (hg_intercepts.c:...)
28    ...
29  Location 0x........ is 0 bytes inside global var "shared"
30  declared at hg04_race.c:6
32 ----------------------------------------------------------------
34 Possible data race during write of size 4 at 0x........ by thread #x
35 Locks held: none
36    at 0x........: th (hg04_race.c:10)
37    by 0x........: mythread_wrapper (hg_intercepts.c:...)
38    ...
40 This conflicts with a previous write of size 4 by thread #x
41 Locks held: none
42    at 0x........: th (hg04_race.c:10)
43    by 0x........: mythread_wrapper (hg_intercepts.c:...)
44    ...
45  Location 0x........ is 0 bytes inside global var "shared"
46  declared at hg04_race.c:6
49 ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)