Assignment 1: Basic Spinlocks Solution