Dyson interview question

Ask me to implement multi-thread in C++