How to timeout a thread in Java / Limiting a threads execution time
For some code you may want to limit its execution time, to prevent infinite loops that can’t be detected within the code. I ran in to this issue with HTMLCleaner on certain HTML, which due to the architecture could not keep track of possible loops with a counter. The code will need to handle thread …
How to timeout a thread in Java / Limiting a threads execution time Read More »