You can terminate the thread by using terminate() and join(), but better to use your own parameter to control termination of the thread; And you might not want to create and delete threads every time if they are basically same, just check the status of the thread and restart it.





Reply With Quote
Bookmarks