Helgrind markiert die richtigen Stellen im Code:
==1930== Possible data race during write of size 4 at 0x60207C by thread #1
==1930== Locks held: none
==1930== at 0x400C9A: main (main-race.c:15)
==1930==
==1930== This conflicts with a previous write of size 4 by thread #2
==1930== Locks held: none
==1930== at 0x400C5A: worker (main-race.c:8)
Blah
1.
2.
3.
4.
3.
4.
Blah
1.
2.
3.
4.
6.
Blah
1.
2.
Blah
1.
2.
9.