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. _______________________________________________ ImageJ-devel mailing list [email protected] http://imagej.net/mailman/listinfo/imagej-devel
