This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [v3] c++0x <thread> testcase fixes
- From: Paolo Carlini <paolo dot carlini at oracle dot com>
- To: Chris Fairles <chris dot fairles at gmail dot com>
- Cc: libstdc++ <libstdc++ at gcc dot gnu dot org>, Gcc Patch List <gcc-patches at gcc dot gnu dot org>
- Date: Sat, 13 Sep 2008 11:38:52 +0200
- Subject: Re: [v3] c++0x <thread> testcase fixes
- References: <fac6bb500809130230v58ef19caxc950afe7e70081f5@mail.gmail.com>
Chris Fairles wrote:
If a thread isn't joined when it goes out of scope, it becomes
detached. Since we can't garauntee that the thread will be complete
before program exit, best to join it. Also missed a couple "test"
variables.
Applied, thanks!
Paolo.
PS: careful when diffing, patch didn't apply cleanly, had to use -l