In fact, I'm a beginner developer in C++, and while dealing with threads to process files, dig data structures etc, a question comes to my mind.
how do I know the progress of each thread?
So I came up with this idea create for each thread its own variable which will be updated something like "progressTh1++" inside a loop