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

Ben Clifford benc at hawaga.org.uk
Sun Sep 23 13:56:53 CDT 2007



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.

-- 



More information about the Swift-devel mailing list