This is the mail archive of the
libstdc++-cvs@gcc.gnu.org
mailing list for the libstdc++ project.
r190672 - in /trunk/libstdc++-v3: ChangeLog inc...
- From: redi at gcc dot gnu dot org
- To: libstdc++-cvs at gcc dot gnu dot org
- Date: Sat, 25 Aug 2012 23:01:40 -0000
- Subject: r190672 - in /trunk/libstdc++-v3: ChangeLog inc...
Author: redi
Date: Sat Aug 25 23:01:40 2012
New Revision: 190672
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=190672
Log:
PR libstdc++/54297
* include/std/future (~_Async_state_impl): Join thread before
derived class members are destroyed.
(~_Async_state_common): Only define non-trivial destructor when
included from future.cc for ABI compatibility reasons.
* src/c++11/future.cc (_GLIBCXX_ABI_COMPAT_ASYNC): Define.
* testsuite/30_threads/async/54297.cc: New.
Added:
trunk/libstdc++-v3/testsuite/30_threads/async/54297.cc
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/std/future
trunk/libstdc++-v3/src/c++11/future.cc