NVIDIA interview question

Difference between mutex and spinlock.