I am struggling to learn using p_thread and threads in general by myself. I do not understand well the concept of joinable threads. Can someone explain?
Moreover, I have a question in detached one. What are they? I think that detached threads are created by you, but then are independent from you.
In the code I am working on, I create some objects of a class named computePi and run its member function. I want to run the functions in parallel.