Exercise

Enhance your understanding by getting hands-on practice ​with this exercise on different concurrency related bugs.

We'll cover the following

This exercise lets you explore some real code that deadlocks (or avoids deadlock). The different versions of code correspond to different approaches to avoiding deadlock in a simplified vector_add() routine. See the previous lesson for details on these programs and their common substrate.

Get hands-on with 1200+ tech skills courses.