memcheck/tests/reach_thread_register.c. (Florian Krohm)
git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_9_BRANCH@13704
partial_load pdb-realloc pdb-realloc2 \
pipe pointer-trace \
post-syscall \
- reach_thread_register \
realloc1 realloc2 realloc3 \
recursive-merge \
sbfragment \
check_PROGRAMS += threadname
endif
+if HAVE_PTHREAD_BARRIER
+check_PROGRAMS += reach_thread_register
+endif
+
if HAVE_GSTABS
check_PROGRAMS += deep_templates
endif
+#define _GNU_SOURCE
+
#include <pthread.h>
#include <sched.h>
#include <stdio.h>