PATCH: client side SuspendThread() handling when using valgrind

Dimitrie O. Paun dpaun at rogers.com
Mon Apr 7 17:54:19 CDT 2003


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?

-- 
Dimi.




More information about the wine-devel mailing list