I would like to know how I can restart thread (only thread, not software) if there is any lines left in text file (example name - list.txt). Is there any way to do it ? Or how I can solve this in other way.
@Unone0X Thread is restarted by default after all actions are done.
Unless it reaches max success number which is 1 by default.
So you need to set itbigger number.
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