30/34
Part 7 of 7 · Follow-upsLearn and do

Threads calling at once can lose units, and one lock stops that

So far, one caller at a time. Here is what two threads can do to the free list.

Predict

The free list is [(10, 20)]. Thread 1 frees (0, 10) and thread 2 frees (20, 30) at the same time, with no lock. What can the free list end up as?

Pick an answer above to see the rest