If I understand you correctly you want a bunch of stuff to loop X number of times ONCE. So you can have your outer infinite loop for the thread and have an inner while loop controlled by a boolean.
...
Type: Posts; User: Junky
If I understand you correctly you want a bunch of stuff to loop X number of times ONCE. So you can have your outer infinite loop for the thread and have an inner while loop controlled by a boolean.
...
Don't use a infinite while loop. Use a boolean that you can control instead.