I want to get a line of word from my file, type it and delete it at the same time, but it's not deleting until the thread finished, and when I'm doing it in a multi thread its getting the same word at the same time. How
Create a variable called "counter". Than use "is element exist" to check if element exist and update "counter" variable whenever element is missing. Check counter variable in the loop, and fail thread if "counter" hit 3