Domanda di colloquio di Jump Trading

How would you implement a mutex in C++?