Search⌘ K

Simulator

Explore how to use the Helgrind tool within the Valgrind suite to identify concurrency issues like race conditions and deadlocks in multi-threaded C programs. Learn to build and analyze example programs, enhancing your debugging skills for thread-related problems.

We'll cover the following...

In this chapter’s exercise, you’ll use a real tool on Linux to find problems in multi-threaded code. The tool is called helgrind (available as part of the Valgrind suite of debugging tools

To complete these exercises locally, you’ll have to download and install Valgrind and the related ...