[PATCH][libstdc++-v3 parallel mode]
Johannes Singler
singler@ira.uka.de
Tue May 6 10:08:00 GMT 2008
This patch improves handling the number of threads in parallel
quicksort. Before, needless threads were created. This is a relict from
switching to a more OpenMP compliant behavior.
Tested x86_64-unknown-linux-gnu: No regressions
Please approve for mainline and gcc-4_3-branch.
2008-05-06 Johannes Singler <singler@ira.uka.de>
* include/parallel/quicksort.h:
(parallel_sort_qs_conquer) Explicitly request number of threads
in the parallel clause.
(parallel_sort_qs) Remove setting the number of threads globally.
Johannes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: quicksort_without_set_num_threads.patch
Type: text/x-patch
Size: 702 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20080506/7d7e7208/attachment.bin>
More information about the Gcc-patches
mailing list