How do I stop or kill a running thread when a condition is true

Printable View