On April 7, 2003 10:41 am, Adam Gundy wrote:
the attached patch is a reworking of the previous valgrind patch's SuspendThread() changes so that the client only suspends threads locally when running under valgrind.
What about:
+#ifdef HAVE_VALGRIND_MEMCHECK_H +#include <valgrind/memcheck.h> +#else +#define RUNNING_ON_VALGRIND 0 +#endif
so we can eliminate the ugly ifdefs?