M
Morten Jensen
Hello,
We are writing a big program with dozens of threads and there is constantly
a danger that a programming error will result in an unforseen deadlock. If
this occurs we would like to just kill the deadlocked threads, write out an
error message and restart them if possible. For some reason even the
deprecated stop method can't kill threads that are in a deadlock. Is there
anything other than System.exit() that can do this?
Thanks
Morten
We are writing a big program with dozens of threads and there is constantly
a danger that a programming error will result in an unforseen deadlock. If
this occurs we would like to just kill the deadlocked threads, write out an
error message and restart them if possible. For some reason even the
deprecated stop method can't kill threads that are in a deadlock. Is there
anything other than System.exit() that can do this?
Thanks
Morten