Shure interview question

How do you implement a c++ class for a mutex.