Jump Trading interview question

How would you implement a mutex in C++?