No of threads
Vino
vino.bheeman at hotmail.com
Tue Dec 19 10:24:47 UTC 2017
Hi All,
Request your help in clarifying the below. As per the document
foreach (d; taskPool.parallel(xxx)) : The total number of threads
that will be created is total CPU -1 ( 2 processor with 6 core :
11 threads)
foreach (d; taskPool.parallel(xxx,1)) : The total number of
threads that will be created is total CPU -1 ( 2 processor with 6
core : 12 threads)
So if I increase the parallel process by any number what would be
the no of threads that would be created
foreach (d; taskPool.parallel(xxx,20)) : As in Windows 2008
whatever value is set for the parallel the total number of
threads does not increase more than 12.
So not sure if this is correct, so can any one explain me on same.
From,
Vino.B
More information about the Digitalmars-d-learn
mailing list