This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Testing parallel mode and PR34106


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]