NVIDIA interview question

Discribe mutual exclusion, how to implement it