Below is the situation for which I am not able to find a solution in C++.
I have to write in C++ code for class work in which main creates a classA::thread-1 which ge