Testing parallel mode and PR34106

Chris Jefferson chris@bubblescope.net
Wed Dec 12 00:19:00 GMT 2007


On 12/12/2007, Paolo Carlini <pcarlini@suse.de> wrote:
> Hi,
>
> some additional details, almost obvious, but anyway.
> > FAIL: 25_algorithms/partial_sort/moveable.cc (test for excess errors)
> >
> This one is because the parallel version of partial_sort doesn't move.
> > FAIL: 25_algorithms/sort/vectorbool.cc (test for excess errors)
> >
> No idea, we should probably look into it as soon as possible.

I haven't looked at this example, but I've previously had trouble with
vector<bool> in threaded code. You can't assume you can read and write
to distinct values in different threads, because of how the different
bits are compressed together.

Chris



More information about the Libstdc++ mailing list