[C++] Helgrind – the thread error detector

Helgrind is a Valgrind tool for detecting synchronisation errors in C, C++ and Fortran programs that use the POSIX pthreads threading primitives. To use this tool, you must specify --tool=helgrind on the Valgrind command line.