1
2The annotation macro ANNOTATE_BARRIER_INIT has not yet been implemented in <valgrind/drd.h>
3   at 0x........: barrier_init (annotate_barrier.c:?)
4   by 0x........: barriers_and_races (annotate_barrier.c:?)
5   by 0x........: main (annotate_barrier.c:?)
6
7Thread 2:
8The annotation macro ANNOTATE_BARRIER_WAIT_BEFORE has not yet been implemented in <valgrind/drd.h>
9   at 0x........: barrier_wait (annotate_barrier.c:?)
10   by 0x........: threadfunc (annotate_barrier.c:?)
11   by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
12
13Thread 3:
14The annotation macro ANNOTATE_BARRIER_WAIT_AFTER has not yet been implemented in <valgrind/drd.h>
15   at 0x........: barrier_wait (annotate_barrier.c:?)
16   by 0x........: threadfunc (annotate_barrier.c:?)
17   by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
18
19The annotation macro ANNOTATE_BARRIER_WAIT_BEFORE has not yet been implemented in <valgrind/drd.h>
20   at 0x........: barrier_wait (annotate_barrier.c:?)
21   by 0x........: threadfunc (annotate_barrier.c:?)
22   by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
23
24Thread 2:
25Conflicting store by thread 2 at 0x........ size 4
26   at 0x........: threadfunc (annotate_barrier.c:?)
27   by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
28   by 0x........: (within libpthread-?.?.so)
29Address 0x........ is at offset 0 from 0x......... Allocation context:
30   at 0x........: malloc (vg_replace_malloc.c:...)
31   by 0x........: barriers_and_races (annotate_barrier.c:?)
32   by 0x........: main (annotate_barrier.c:?)
33
34The annotation macro ANNOTATE_BARRIER_WAIT_AFTER has not yet been implemented in <valgrind/drd.h>
35   at 0x........: barrier_wait (annotate_barrier.c:?)
36   by 0x........: threadfunc (annotate_barrier.c:?)
37   by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
38
39Thread 1:
40The annotation macro ANNOTATE_BARRIER_DESTROY has not yet been implemented in <valgrind/drd.h>
41   at 0x........: barrier_destroy (annotate_barrier.c:?)
42   by 0x........: barriers_and_races (annotate_barrier.c:?)
43   by 0x........: main (annotate_barrier.c:?)
44
45Done.
46
47ERROR SUMMARY: 11 errors from 7 contexts (suppressed: 0 from 0)
48