views:

268

answers:

2

Helgrind is a Valgrind tool for detecting synchronisation errors in C, C++ and Fortran programs that use the POSIX pthreads threading primitives.

Anyone knows an equivalent tool for windows? After googling a bit I haven't found anything...

+1  A: 

The only thing of heard of in this area is CHESS, from Microsoft Research. Never used it though. No idea if its equivalent to Helgrind in any meaningful way.

Kevin Montrose
CHESS is for Heisenbugs: bugs that disappear when you use a debugger or insert trace prints (that modify the interleaving of the threads in such a way that the bugs doesn't reproduce).Helgrind is a different beast: it is a VM that traces the memory accesses: if it finds that two threads write on the same memory location (or one read and one write, you get the idea) without proper syncronization, then it report to you the fact, along the number lines of the offending code.
akappa
+1  A: 

For the people that eventually should land there: I've found that: Intel thread checker: should be pretty similar to Hellgrind.

akappa