Login  Register

Re: Multiple threads

Posted by Douglas Benn-2 on May 06, 2010; 2:36pm
URL: http://imagej.273.s1.nabble.com/Multiple-threads-tp3688389p3688392.html

Dear Johannes & Michael,

Using doCommand("Orthogonal Views") within my macro loop seems to cure
the problem so I assume that executing doCommand("Orthogonal Views") a
second time kills the first thread. The Orthogonal Views response time
to selecting a new slice in a stack and updating it is slower than using
Orthogonal Views outside of a loop. I will experiment with turning on
batch mode and perhaps this will improve.

I did try thread-killer and got a run time error on the 1st line saying
it did not recognize the module it was supposed to load. However, since
Johannes says the thread names are not well preserved I will not spend
more time on this.

Thanks for your help.

Douglas

-----Original Message-----
From: ImageJ Interest Group [mailto:[hidden email]] On Behalf Of
Johannes Schindelin
Sent: Thursday, May 06, 2010 6:40 AM
To: [hidden email]
Subject: Re: Multiple threads

Hi,

On Thu, 6 May 2010, Michael Schmid wrote:

> did you try the ThreadKiller plugin?
>  http://rsb.info.nih.gov/ij/plugins/thread-killer.html
>
> It uses a GenericDialog for selecting the thread, so it should be even
> macro-recordable.

The names of threads are not well preserved, so I would recommend
against
that.

Ciao,
Johannes