Login  Register

Re: Any way to Kill a thread?

Posted by Gabriel Landini on Jul 16, 2008; 12:03pm
URL: http://imagej.273.s1.nabble.com/Any-way-to-Kill-a-thread-tp3695586p3695588.html

On Wednesday 16 July 2008 12:49:58 Johannes Schindelin wrote:
> If you have a JDK (as opposed to just a JRE) you can make a new plugin
> without restarting ImageJ, paste the code, compile and run it.

It gives a warning :

Thread_Killer.java:41: warning: [deprecation] stop() in java.lang.Thread has
been deprecated
                threads[threadIndex].stop();

Cheers,

G.