Teradici interview question

Multithreading in C++