Hi Stephan
Just to be sure I got your point:
You mean that if we iterate over all the neighbohoods of a single final
image in a multithreaded way, we might screw up with the unsafe
implementations right? In a pseudo code, this:
for (int i =0; i < nThreads, i++) {
threads[i] = new Thread() {
public void run() {
for ( Neighborhood<T> n : chunks)
for ( T t : n )
...
...
...
would always fail with the unsafe implementation and always work with safe
implementations? Right??
_______________________________________________
ImageJ-devel mailing list
[email protected]
http://imagej.net/mailman/listinfo/imagej-devel