gcc/libstdc++-v3/include
Jonathan Wakely 5262c72ad4 re PR libstdc++/45133 ([c++0x] std::future will crash with NULL deref if get() is called twice)
2010-12-14  Jonathan Wakely  <jwakely.gcc@gmail.com>

	PR libstdc++/45133
	* include/std/future (__basic_future::wait): Throw if not valid.
	(__basic_future::wait_for): Likewise.
	(__basic_future::wait_until): Likewise.
	(__basic_future::_M_get_result): Likewise.
	* testsuite/30_threads/future/members/45133.cc: New.
	* testsuite/30_threads/shared_future/members/45133.cc: New.

From-SVN: r167823
2010-12-14 23:27:17 +00:00
..
backward c++config (std::size_t, [...]): Provide typedefs. 2010-06-03 19:15:56 +00:00
bits re PR libstdc++/46910 (std::shared_ptr requires public destructor for a class with friend deleter) 2010-12-14 22:13:26 +00:00
c Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
c_compatibility cinttypes: Remove, move contents to C++0x and TR1 headers. 2010-11-02 18:51:23 +00:00
c_global cmath (fpclassify, [...]): Remove spurious duplicate definition added in the last commit. 2010-11-03 01:56:28 +00:00
c_std cmath (__pow_helper): Remove. 2010-09-27 09:27:05 +00:00
debug unordered_map (unordered_multimap<>::erase): Fix to erase all elements associated to the key. 2010-11-27 13:09:47 +00:00
decimal decimal: Minor formatting and uglification fixes. 2009-10-29 13:15:51 +00:00
ext re PR libstdc++/46830 (s.swap(s) triggers overlapped memcpy() for versa_string) 2010-12-07 02:43:16 +00:00
parallel algobase.h (equal): Call parallel variant for applicable overloads. 2010-11-09 15:34:58 +00:00
precompiled typeindex: New. 2010-09-22 12:04:08 +00:00
profile stl_tree.h (_Rb_tree<>::_M_const_cast_iter): Remove. 2010-11-14 18:41:01 +00:00
std re PR libstdc++/45133 ([c++0x] std::future will crash with NULL deref if get() is called twice) 2010-12-14 23:27:17 +00:00
tr1 cmath (fpclassify, [...]): Remove spurious duplicate definition added in the last commit. 2010-11-03 01:56:28 +00:00
Makefile.am debug.cc: Introduce a mutex pool in get_safe_base_mutex. 2010-11-25 20:53:39 +00:00
Makefile.in re PR target/40125 (libgcc_s DLL installed in wrong directory in cross toolchain) 2010-12-06 00:50:04 +00:00