Exercise

Enhance your understanding by getting hands-on practice ​with this exercise on locks!

We'll cover the following

Simulator

This program, x86.py, allows you to see how different thread interleavings either cause or avoid race conditions. See the README for details on how the program works and answer the questions below. You can also recap the details of this simulator from an earlier chapter here.

Get hands-on with 1200+ tech skills courses.