Question d’entretien chez Jump Trading

How would you implement a mutex in C++?