Evaluating Locks

In this lesson, you will learn the metrics to evaluate the implementation of a lock.

We'll cover the following...

Before building any locks, we should first understand what our goals are, and thus we ask how to evaluate the efficacy of a particular lock implementation. To evaluate whether a lock works (and works well), we should establish some basic criteria.

Mutual exclusion

The first is whether the lock ...