[ImageJ-devel] Local Neighborhood stuff
Jean-Yves Tinevez
tinevez at pasteur.fr
Mon Aug 20 07:56:34 CDT 2012
On 20-Aug-12 14:54, Stephan Saalfeld wrote:
> No---that would work in all cases. It would fail if you put the inner
> loop into threads.
>
> for ( Neighborhood<T> n : chunks) {
> for (int i =0; i < nThreads, i++) {
> threads[i] = new Thread() {
> public void run() {
> for ( T t : n )
> ...
> ...
> ...
>
> When would you do that? E.g. when applying a multi-threaded
> implementation to a neighborhood.
Roger 5/5.
More information about the ImageJ-devel
mailing list