NVIDIA Interview Question

Difference between mutex and spinlock.