[PATCH][libstdc++-v3 parallel mode] random_shuffle fixes

Johannes Singler singler@ira.uka.de
Thu Jun 5 08:29:00 GMT 2008


Fixes two small things in parallel random_shuffle.

Tested x86_64-unknown-linux-gnu: No regressions

Please approve for mainline and gcc-4_3-branch.

2008-06-05  Johannes Singler  <singler@ira.uka.de>

          * include/parallel/random_shuffle.h:
            (parallel_random_shuffle_drs) Get the actual number of
            threads after entering the parallel region. Indentation.
          * include/parallel/algo.h: (random_shuffle(begin, end))
            Add namespace qualification to avoid ambiguity.

Johannes

-------------- next part --------------
A non-text attachment was scrubbed...
Name: random_shuffle_num_threads.patch
Type: text/x-patch
Size: 1256 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20080605/5caef510/attachment.bin>


More information about the Gcc-patches mailing list