Index of /perry/os/ostep/homework/threads-api

[ICO]NameLast modifiedSizeDescription

[PARENTDIR]Parent Directory  -  
[TXT]Makefile2021-03-01 13:09 681  
[TXT]README.md2021-03-01 13:09 1.2K 
[TXT]common_threads.h2021-03-01 13:09 1.9K 
[TXT]main-deadlock-global.c2021-03-01 13:09 769  
[TXT]main-deadlock.c2021-03-01 13:09 664  
[TXT]main-race.c2021-03-01 13:09 327  
[TXT]main-signal-cv.c2021-03-01 13:09 1.2K 
[TXT]main-signal.c2021-03-01 13:09 342  
[TXT]README.html2021-05-31 14:59 4.6K 

ostep-homework/threads-api

Overview

In this homework, 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).

See http://valgrind.org/docs/manual/hg-manual.htm for details about
the tool, including how to download and install it (if it's not
already on your Linux system).

You'll then look at a number of multi-threaded C programs to see how you can
use the tool to debug problematic threaded code.

First things first: download and install valgrind and the related helgrind tool.

Then, type make to build all the different programs. Examine the Makefile
for more details on how that works.

Then, you have a few different C programs to look at:

With these programs, you can now answer the questions in the textbook.