Not. "Control pass back" does not make much sense, because they are executed independently in any case - as a rule, Thread A is not going to sit waiting for Thread B to complete, but it will do something else.
By the way, threads can, of course, check if another thread is working. Check your thread library or the system functions you use.
However, this will only work on what can be called a โsoft glitchโ; many crashes screw much more than just a thread doing a bad thing, such as hardware exceptions that kill the whole process or corrupt memory. Thus, trying to catch failures in another thread will be a good job with little benefit, if any. Better spend this time fixing bugs.
source share