I have a file from which I take lines using the counter variable. The problem however is that even though I'm increasing the counter with +1 each time, all the threads work from the start of the file and do it as many times as there are threads.
For example, if I am using 10 threads, each line...