Login  Register

Any way to Kill a thread?

Posted by John Alexander-7 on Jul 16, 2008; 3:31am
URL: http://imagej.273.s1.nabble.com/Any-way-to-Kill-a-thread-tp3695586.html

I realize that the escape key will stop a macro - but I've recently been
 using some computationally intensive plug-ins which can run for many
minutes (or hours!).  Sometimes, after starting them, I realize either I
have a bad parameter, or I should have preconditioned or cropped the
input image, or the results are not looking right etc etc - but I can't
find anyway of aborting the plug-in - other than killing the ImageJ
application.

If the plug-in does not respond to "closing" nor does it have a "cancel"
option - is there anyway of aborting a thread?


John