[Swift-devel] Re: karajan threads in relation to actual executions

Mihael Hategan hategan at mcs.anl.gov
Sun Sep 23 14:02:43 CDT 2007


On Sun, 2007-09-23 at 18:56 +0000, Ben Clifford wrote:
> 
> On Sun, 23 Sep 2007, Mihael Hategan wrote:
> 
> 
> > 
> > Yes.
> > 
> > Threads are hierarchical when parallelism is involved. A parallel() or
> > parallelFor() will always create threads by appending a sub-thread index
> > to the current thread name. Sequential contexts (like restartOnError) do
> > not change the thread. If you see "Job <jobid> running in thread
> > <thread>" multiple times, those are restarts. 
> 
> > So you don't actually need the stuff below.
> 
> so the thread ID in that case provides the unique derivation ID.

Yes.

> 




More information about the Swift-devel mailing list