This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/42198] [C++0x] Using std::thread without -pthread causes immediate crash
- From: "paolo at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Dec 2009 11:09:22 -0000
- Subject: [Bug libstdc++/42198] [C++0x] Using std::thread without -pthread causes immediate crash
- References: <bug-42198-6477@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from paolo at gcc dot gnu dot org 2009-12-17 11:09 -------
Subject: Bug 42198
Author: paolo
Date: Thu Dec 17 11:09:05 2009
New Revision: 155308
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155308
Log:
2009-12-17 Paolo Carlini <paolo.carlini@oracle.com>
PR libstdc++/42198
* src/thread.cc (thread::_M_start_thread): Throw system_error
immediately if the thread system is inactive.
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/src/thread.cc
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42198