r249130 - in /trunk/libstdc++-v3: ChangeLog src...
redi@gcc.gnu.org
redi@gcc.gnu.org
Mon Jun 12 16:37:00 GMT 2017
Author: redi
Date: Mon Jun 12 16:37:28 2017
New Revision: 249130
URL: https://gcc.gnu.org/viewcvs?rev=249130&root=gcc&view=rev
Log:
PR libstdc++/55917 do not handle exceptions in std::thread
PR libstdc++/55917
* src/c++11/thread.cc (execute_native_thread_routine): Remove
try-block so that exceptions propagate out of the thread and terminate
is called by the exception-handling runtime.
(execute_native_thread_routine_compat): Likewise.
* testsuite/30_threads/thread/cons/terminate.cc: New.
Added:
trunk/libstdc++-v3/testsuite/30_threads/thread/cons/terminate.cc
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/src/c++11/thread.cc
More information about the Libstdc++-cvs
mailing list