Locks: The Basic Idea

This lesson presents the basic idea and motivation behind locks.

We'll cover the following

As an example, assume some critical section looks like this, the canonical update of a shared variable:

Get hands-on with 1200+ tech skills courses.