NVIDIA interview question

A difference between mutex and semaphor.