NVIDIA interview question

Spin lock