I have some code running in a thread that I need to respond to any exceptions within the calling thread. How would I find out if there are any exceptions and just reboot the child thread?
Asked
Active
Viewed 177 times
2 Answers
3
You would have to terminate/join the child-process in the try/except/finaly
-block of the parent thread and afterwards reinvoke it.
Link to an older SO-post, which discusses the "killing" of a thread.

Community
- 1
- 1

Don Question
- 11,227
- 5
- 36
- 54
-
Is there any example code that I could see on how to implement this? – Jonny Flowers Jul 06 '12 at 10:11